Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: Re: Make a string regexp-safe

by IlyaM (Parson)
on Jul 14, 2002 at 18:50 UTC ( [id://181627]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    my $string = "some unsafe chars";
    
    .... =~ /\Q$string\E/;
    
  2. or download this
    
    my $string = "some unsafe chars";
    ...
    
    .... =~ /$temp/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-24 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found