No special action is required, the following works as expected as long as $regex contains a valid regex:
if ($input =~ /$regex/) { ... }
Time flies when you don't know what you're doing
In reply to Re: Storing regexen in a DB and using them
by FloydATC
in thread Storing regexen in a DB and using them
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |