Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Elegant examples to parse parenthesised stringsby jettero (Monsignor) |
on May 19, 2010 at 12:11 UTC ( [id://840679]=note: print w/replies, xml ) | Need Help?? |
I've never been that good at regular expressions.
There's a problem here. Traditionally, regular expressions can't match things that count (anbn). Perl RE have things that help with this (things that aren't really DFA-y); but you still probably want to look at things like Text::Balanced. -Paul
In Section
Seekers of Perl Wisdom
|
|