Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Composing regex's dynamically

by RMGir (Prior)
on Apr 27, 2011 at 12:54 UTC ( #901560=note: print w/ replies, xml ) Need Help??


in reply to Composing regex's dynamically

I was going to suggest Regex::PreSuf, but when searching for that, I found Regexp::Assemble. That seems like exactly what you're looking for...

(Although Corion's suggestion should work just fine, too, if you're just alternating strings...)


Mike


Comment on Re: Composing regex's dynamically

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-09-17 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (65 votes), past polls