Page 1 of 1

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

PostPosted: Mon Apr 22, 2024 5:05 pm
by NTalcid
...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

/RegExp cannot find the correct pcre.dll

PostPosted: Wed Apr 24, 2024 8:31 pm
by Luuk
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%)

Re: /RegExp cannot find the correct pcre.dll

PostPosted: Tue May 14, 2024 1:29 pm
by NTalcid
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