in reply to regex question
You can try to defuse $parse1 by using alternate separators, e.g.
or enclosing the string in \Q\E