You mean something like ...
if ( $text =~ m{$regex} ) { .... }
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re: Storing regexen in a DB and using them
by TomDLux
in thread Storing regexen in a DB and using them
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |