Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 browsing the Monastery: (5)
As of 2015-07-28 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (252 votes), past polls