Multi Commander > Support and Feedback

RegExp: Using of '\d' doesn't work

(1/1)

Malleus:
Hi,
I have a question about regular expressions in the "multireplace tool:
Assume I have multiple files like "test.txt", "test1.txt" and "test11.txt".
Now I want to use a regular expression like "test\d+"which means "look for all file named "test" with digits.
How can I do this with '\d' or are these "\" flags aren't implemented yet?
Many thanks!
Frank

Mathias (Author):
Sorry. I'm no expert in RegEx.

There are many variants of RegExp. MC is using the one that is provided by C++, and should be the same as the one used in JavaScripts.
http://www.cplusplus.com/reference/regex/ECMAScript/

Also make sure the "RegEx" checkbox is checked. else the Regex engine is not called.

Malleus:
Sorry, it was my fault! There were naming conflicts and that's the reason why nothing has been changed.
I only looked at the top of the screen where the new filenames are displayed ( calculated ) . There were empty! At the bottom there were your red notifications about double filenames.
regards!
Frank

Navigation

[0] Message Index

Go to full version