in reply to Re: Re: Re: A demanding parser
in thread A demanding parser
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A demanding parser (THE SOLUTION)
by gmax (Abbot) on Jan 31, 2002 at 06:59 UTC |