Try the following:
or if you want a literal $ in the pattern:if ($after =~ /$scur/) { do something; }
if ($after =~ /\$scur/) { do something; }
In reply to Re: Regex Error
by pbeckingham
in thread Regex Error
by rjahrman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |