Perl Monk, Perl Meditation | |
PerlMonks |
Escaping confusion in RE...by freddo411 (Chaplain) |
on Jul 05, 2007 at 22:15 UTC ( [id://625139]=perlquestion: print w/replies, xml ) | Need Help?? |
freddo411 has asked for the wisdom of the Perl Monks concerning the following question: Monks, I'm trying to do a "simple" find and replace. I'm looking for L:\Data\5555\ to replace with D:\Sites\5555\Data\ I also want to generalize the numeric part. So I tried this RE: This has strange effects causing an infinite loop during my replace. The backslash character is causing me trouble. I am not using these paths, just replacing them as text in a file. Thanks in advance for your advice. -------------------------------------
Back to
Seekers of Perl Wisdom
|
|