Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by 2teez (Vicar)
on May 22, 2015 at 06:14 UTC ( #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
Node Status?
node history
Node Type: note [id://1127431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2021-04-17 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?