$quotedregex = quotemeta $unquotedregex; m/$quotedregex/;
--
flounder
In reply to Re: Metacharacters in a variable as literals in regex
by flounder99
in thread Metacharacters in a variable as literals in regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |