Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Possible Match Problem

by toolic (Chancellor)
on Jan 18, 2012 at 22:42 UTC ( #948640=note: print w/ replies, xml ) Need Help??


in reply to Possible Match Problem

Parens are special characters in regexes and they need to be escaped: quotemeta:

$str1 = quotemeta "Hi(";
See also perlre.


Comment on Re: Possible Match Problem
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2014-12-21 23:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (109 votes), past polls