eval q{ if ($value =~ /($input)/) { # try match $match = $1; # assign here because of local scope? } };
I'm pretty happy with that now :)
cLive ;-)
In reply to Re: Checking user input on dynamic regular expressions
by cLive ;-)
in thread Checking user input on dynamic regular expressions
by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |