Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Performing substitutions on lines with special characters

by gjb (Vicar)
on Apr 07, 2004 at 20:23 UTC ( #343419=note: print w/ replies, xml ) Need Help??


in reply to Performing substitutions on lines with special characters

Have a look at the quotemetaPerl function. It will escape all characters that are "special" for regular expressions.

Hope this helps, -gjb-


Comment on Re: Performing substitutions on lines with special characters
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://343419]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-04-19 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (362 votes), past polls