Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Problem with input strings that have "[]" brackets

by toolic (Bishop)
on May 08, 2015 at 17:42 UTC ( [id://1126124]=note: print w/replies, xml ) Need Help??


in reply to Problem with input strings that have "[]" brackets

You need quotemeta for ()
my $pattern = quotemeta 'Category("notestrecord")';

Replies are listed 'Best First'.
Re^2: Problem with input strings that have "[]" brackets
by Laszlo (Novice) on May 08, 2015 at 17:45 UTC
    Yes it worked!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-03-28 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found