Multi Commander > Support and Feedback
Non-greedy dot is not supported
(1/1)
Suncatcher:
Why non-greedy dot is not supported in Multi commander?
The regex
--- Code: ---\s\(ASOT.*?\)|
--- End code ---
throws this error.
In this thread you say that MC has ECMA-complient Regex engine, and ECMA supports .? pattern perfectly. Why MC not?
UPDATE: even this pattern without non-greediness throws error
--- Code: ---\s\(ASOT.*\)|
--- End code ---
and this too
--- Code: ---\s\(ASOT[^)]*\)|
--- End code ---
The most odd thing that it is showing correct transformation in live preview but the error is thrown when I press Start to start the renaming
Mathias (Author):
MC do not have its own regex engine. it is using the reqex engine that is included in C++. the option for the regex engine is set to be ECMA, but I don't know if they are any exception or if you need to write in other way. What it support and not, I don't know. I got it to work with most pattern I tried but Im no regex expert. I don't understand what your are trying to so with the regex
Navigation
[0] Message Index
Go to full version