Am I missing anything in the comparison?quotemeta
if ($var1 =~ /\Q$var2/)
Please use code tags: Writeup Formatting Tips
In reply to Re: RegEx Comparison
by toolic
in thread RegEx Comparison
by perl@1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |