And I can now see why I didn't have a hope of figuring out the RE on my own... :o)use Regexp::Common qw/balanced/; say $RE{balanced}{-parens=>'()'} ;
In reply to Re^3: Matching nested parens
by BernieC
in thread Matching nested parens
by BernieC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |