in reply to Re^3: Converting a stringified regexp back into a regexp
in thread Converting a stringified regexp back into a regexp

O.K., but what if you wanted to do this for another non-XML related reason? I solved it by creating a sub that looks for (?g) or (?o) or even (?go) and strips them out and then runs m/blah/g or m/blah/o or m/blah/go -- pretty klunky but it works. Is there a better way?
  • Comment on Re^4: Converting a stringified regexp back into a regexp