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

Re^2: Feature Idea: qr//e

by haukex (Archbishop)
on Jan 19, 2017 at 11:54 UTC ( [id://1179908]=note: print w/replies, xml ) Need Help??


in reply to Re: Feature Idea: qr//e
in thread Feature Idea: qr//e (updated with solutions)

Hi Haarg,

my ($regex) = map qr/$_/, join '|', map {quotemeta} qw/. | %/;

Excellent idea, thank you! I've updated the root node.

Thanks,
-- Hauke D

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2024-04-25 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found