Finding balanced text is the number one item on the list of "Things You Can't Do With Regular Expressions".
You can with Perl regular expressions. man perlre even has an example.
Abigail
In reply to Re: regex 2 find C function dependencies
by Abigail-II
in thread regex 2 find C function dependencies
by jai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |