Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Using string literal in regexp

by chromatic (Archbishop)
on Jun 17, 2006 at 07:32 UTC ( [id://555944]=note: print w/replies, xml ) Need Help??


in reply to Re: Using string literal in regexp
in thread Using string literal in regexp

I don't think this is helpful.

How does qr// help? Interpolation happens there too!

How do you perform generalized backslash escaping on an arbitrary string? Do you run it through another regex first? Do you recreate the behavior of quotemeta or \Q...\E then, perhaps badly?

davorg has given far better advice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found