Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Storing regexen in a DB and using them

by FloydATC (Chaplain)
on Jan 28, 2014 at 11:42 UTC ( #1072342=note: print w/ replies, xml ) Need Help??


in reply to Storing regexen in a DB and using them

No special action is required, the following works as expected as long as $regex contains a valid regex:

if ($input =~ /$regex/) { ... }
-- FloydATC

Time flies when you don't know what you're doing


Comment on Re: Storing regexen in a DB and using them
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2014-10-31 21:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls