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

Re: string interpolation in RE

by jonjacobmoon (Pilgrim)
on Jan 05, 2002 at 04:26 UTC ( #136431=note: print w/replies, xml ) Need Help??


in reply to string interpolation in RE

I would look into using quotemeta. See it on pg 201 of the Camel book, 2nd edition. Update: I am wrong. Ignore my answer. When Tye flagged me on it, I ran a test script and got:

\\decs17\\dq

which is not what you wanted. Sorry.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2021-10-26 02:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?