On Wed, Dec 07, 2005 at 05:17:23PM -0800, Allison Randal wrote:
> >But at the moment, a string can be matched based on balanced and
> >nested parentheses using
> >
> >    <PGE::Text::balanced: ()>
> 
> Ah-ha! This works:
> 
>   p6rule('\d+ | <PGE::Text::bracketed: ">', 'PunieGrammar', 'term')
> 
> (I experimented with several variations of syntax today, but hadn't  
> hit on one that worked yet.)

Just keep in mind that PGE::Text::bracketed is using Text::Balanced
as its model.  :-)

I'll make the delimiter-less results available shortly.

Pm

Reply via email to