Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: regexp =~

by redsquirrel (Hermit)
on Jul 29, 2002 at 17:50 UTC ( [id://186037]=note: print w/replies, xml ) Need Help??


in reply to treating * as a normal character in a regex

... if($theMatch =~ /\Q$line\E/ ) ...
The \Q and \E start and stop metacharacter escaping, respectively.

--Dave

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-04-26 00:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found