|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: RE: Answer: What can regular expressions NOT do?by Joey The Saint (Novice) |
| on Mar 20, 2001 at 15:48 UTC ( [id://65731]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||