|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: Performing substitutions on lines with special charactersby gjb (Vicar) |
| on Apr 07, 2004 at 16:23 UTC ( [id://343419]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Have a look at the quotemetaPerl function. It will escape all characters that are "special" for regular expressions. Hope this helps, -gjb-
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||