in reply to Converting a stringified regexp back into a regexp

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

  • Comment on Re: Converting a stringified regexp back into a regexp