Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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

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 cooling their heels in the Monastery: (5)
As of 2016-07-02 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (18 votes). Check out past polls.