Think about Loose Coupling | |
PerlMonks |
Re: RE: Answer: What can regular expressions NOT do?by Joey The Saint (Novice) |
on Mar 20, 2001 at 20:48 UTC ( [id://65731]=note: print w/replies, xml ) | Need Help?? |
Well, I actually asked for something similar ages ago on comp.lang.perl.moderated (I wanted to match balanced braces in C++ code) and was treated to the following solution which works quite handily on arbitrary-depth nesting for parens.
-J.
In Section
Seekers of Perl Wisdom
|
|