RegExp cannot be processed as pcre.dll could not be located

Post any Bulk Rename Command support requirements here. Open to all registered users.

RegExp cannot be processed as pcre.dll could not be located

Postby NTalcid » Mon Apr 22, 2024 5:05 pm

...is the error message I get when trying RegEx.
Can anyone help? Is there a way to tell BRC where to find PCRE.DLL?

My situation is the following: My "BRC.EXE" is in my tools folder "C:\BIN" (which is in %PATH%).
After the first appearance of the error I put a copy of PCRE.DLL in the same folder -- in fact all the different versions of the DLL I could find, one after the other...
Including, of course, the freshly downloaded one from pcre.org

Thanks for your time!

Cheers,
Nikolai
NTalcid
 
Posts: 2
Joined: Mon Apr 22, 2024 4:52 pm

/RegExp cannot find the correct pcre.dll

Postby Luuk » Wed Apr 24, 2024 8:31 pm

The pcre.dll should be the exact same version, as the one supplied inside of your downloaded .zip file.
Then it can either be settled in the current directory, or just any folder-path stored within your %path%.
With many different pcre.dll's in different folder-paths, %path% should list the correct folder-path first!

To permanently edit the folder-paths... "Run, SystemPropertiesAdvanced, Environmental Variables"
To temporarily edit folder-paths from the command-line, or inside of a batch, its like...
SET path=C:\YourFolderPath
SET path=C:\YourFolderPath;%path% (if other command-line apps might also need %path%)
Luuk
 
Posts: 714
Joined: Fri Feb 21, 2020 10:58 pm

Re: /RegExp cannot find the correct pcre.dll

Postby NTalcid » Tue May 14, 2024 1:29 pm

Luuk wrote:The pcre.dll should be the exact same version, as the one supplied inside of your downloaded .zip file.


Maybe try the one provided? Hm, OK...

Of course, that was it! :roll:

Thank you so much.
In the process of trying out all the libraries I could find, *that* I somehow overlooked...

Cheers,
Nikolai
NTalcid
 
Posts: 2
Joined: Mon Apr 22, 2024 4:52 pm


Return to BRC Support


cron