Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by 2teez (Vicar)
on May 22, 2015 at 06:14 UTC ( [id://1127431]=note: print w/replies, xml ) Need Help??


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

could quotemeta and or \Q ... \E be what you are looking for?

I have not tested this on the OP given data.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
  • Comment on Re: How to write regex for special characters without using back slashes??

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-23 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found