in reply to Converting a stringified regexp back into a regexp

Nit: you needlessly capture $2. It doesn't even need grouped, let alone captured.

Caution: Contents may have been coded under pressure.
  • Comment on Re: Converting a stringified regexp back into a regexp

Replies are listed 'Best First'.
Re^2: Converting a stringified regexp back into a regexp
by mirod (Canon) on Apr 07, 2005 at 16:06 UTC

    Thanks, applied.

    I had always dreamed to write this :--)