Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to write regex for special characters without using back slashes??

by Corion (Patriarch)
on May 22, 2015 at 06:23 UTC ( [id://1127432]=note: print w/replies, xml ) Need Help??


in reply to How to write regex for special characters without using back slashes??

See perlre, especially \Q and \E.

Replies are listed 'Best First'.
Re^2: How to write regex for special characters without using back slashes??
by sumathigokul (Acolyte) on May 22, 2015 at 11:12 UTC

    Hi all... I could achieve using \Q..\E...Thank you for sharing your knowledge...

Log In?
Username:
Password:

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

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

    No recent polls found