Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2025-07-08 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.