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

Re^3: how can I use regular expresion if my string to be matched has round brackets

by GrandFather (Saint)
on Oct 06, 2008 at 23:00 UTC ( [id://715664]=note: print w/replies, xml ) Need Help??


in reply to Re^2: how can I use regular expresion if my string to be matched has round brackets
in thread how can I use regular expresion if my string to be matched has round brackets

You need:

my $ipn="\\( going \\) there";

The \\ gets replaced by \ when the string is parsed.


Perl reduces RSI - it saves typing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-03-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found