Syntactic Confectionery Delight | |
PerlMonks |
Re: problem in substitutionby ccn (Vicar) |
on Dec 08, 2008 at 07:31 UTC ( [id://728873]=note: print w/replies, xml ) | Need Help?? |
Since you have backslahes inside of the pattern you need use \Q to disable pattern metacharacters. Also you don't need any modifiers (esg) for the regexp, excepting i probably. see perldoc perlre
In Section
Seekers of Perl Wisdom
|
|