in reply to Re: Re: Re: A demanding parser
in thread A demanding parser
Ah, sorry. Missed that bit.
How about:
followed by reading the Regexp::Common source?use Regexp::Common; print $RE{balanced}{-parens=>'()'}, "\n"; print $RE{balanced}{-parens=>'{}'}, "\n"; print $RE{balanced}{-parens=>'{}()'}, "\n"; # etc.
Damian
In Section
Meditations