You can try to defuse $parse1 by using alternate separators, e.g.
s{}{} or m{}or enclosing the string in \Q\E
s/ \Q$string\E / ... / or m/ \Q$string\E /In reply to Re: regex question
by Monk::Thomas
in thread regex question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |