in reply to regex to parse (nested) parenthesis delimited string?

(Please read Writeup Formatting Tips and try to make your nodes a bit easier to read)

Regular expressions can get very complex really quickly when you're using them to parse nested structures. In this case I think you'd be much better off looking at Text::Balanced.

  • Comment on Re: regex to parse (nested) parenthesis delimited string?