Use Regexp::Common , maybe $RE{balanced}{-parens=>'()'}
In reply to Re: Catching multiple lines and assigning them as a single array element
by Anonymous Monk
in thread Catching multiple lines and assigning them as a single array element
by kort
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |