Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 imbibing at the Monastery: (4)
As of 2024-06-19 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.