Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 lurking in the Monastery: (6)
As of 2014-12-20 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls