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.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
|
|---|