Page 1 of 1

Regex to add text at end of folder name fails

Posted: 03 Apr 2020 00:16
by Malarki
I can't see why this happens so am posting it as a bug. I'm trying to add the text "OLD" to the end of a folder name. So in Regex Rename (command #122) I enter:

Code: Select all

(.*) > $1OLD
But this adds "OLDOLD".

Re: Regex to add text at end of folder name fails

Posted: 03 Apr 2020 00:27
by highend
Don't know if it is a bug, but if it is, it's from the underlying regex engine (VB 6). This can't be fixed.

Use (.+) > $1OLD instead