http://www.perlmonks.org?node_id=141489


in reply to Re: A demanding parser
in thread A demanding parser

Is there any way of avoiding the external module and catch an arbitrary number of nested parentheses with a "normal" Regex?
use Regexp::Common; $str =~ /$RE{balanced}{-parens=>'()'}/