Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Single regex

by Anonymous Monk
on Jan 11, 2013 at 02:37 UTC ( #1012781=note: print w/replies, xml ) Need Help??


in reply to Single regex

Use one of Regexp::Assemble/Regexp::Trie/Regex::PreSuf to assemble an efficient regex then make a single substitution pass

or $regex = join '|', map \&quotemeta, @tv;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012781]
help
Chatterbox?
[Happy-the-monk]: Discipulus: why are you looking for a Danish monk?
[1nickt]: choroba really you did not like it hm?
[choroba]: no, just trying to judge a book in the same way
[choroba]: i.e. using it for a totally different purpose than it was written for

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2017-11-17 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (273 votes). Check out past polls.

    Notices?