From: Zurd <zu...@ya...> - 2007-02-09 22:29:29
|
Well, I'm not an expert on perl regular expression and your command almost looks cryptic to me ;-) As I understand, you want to switch the "- " to the end of the filename? If you could provide me with a few filenames examples I'll be able to better grasp what you're trying to achieve. What I'm sure of though, is that if you use the Perl Regular Expression checkbox, the replace/with becomes a normal substitute regular expression like sed 's/replace_this_field/with_this_field/g' --- Hippo31 <hi...@fr...> a écrit : > Hello, > I recently discorered this nice tool and feel it quite useful, but i > would like to make a replacement like this "s!- (\d+)!\1 -!" > Through gprename i have tried > Replace "- (\d+)" with "\1 -" > and also > Replace "- (\d+)" with "$1 -" > > but the displayed result doesn't look like what i was expected > > Isn't there possible to use the backreferences in the target space ? > > Hippo31 __________________________________________________ Do You Yahoo!? En finir avec le spam? Yahoo! Courriel vous offre la meilleure protection possible contre les messages non nollicités http://mail.yahoo.ca Yahoo! Courriel |