use Regexp::Common qw /balanced/; /($RE{balanced}{-parens=>’()’})/ and print $1;
In reply to Re: Eternal question of parsing parentheses
by JavaFan
in thread Eternal question of parsing parentheses
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |