in reply to Re: regex to match one nasty javascript line
in thread regex to match one nasty javascript line
This is in perl? Have you considered replacing the "+"s with "."s, and then eval-ing the string? Then you don't need to worry about parenthesis.