I don't see anything wrong with your code, but I have never attempted this. I would just use strings like '^x' as hash keys, and then build the regexps as needed from these plain string keys.
the lowliest monk
In reply to Re: Converting a stringified regexp back into a regexp
by tlm
in thread Converting a stringified regexp back into a regexp
by mirod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |