Re: question on directive <commit> and subrules

[email protected] (damian)
Newsgroups perl.recdescent
Organization Perl Foundation
Message-ID <[email protected]>
Marcel Grunauer wrote:

> > Usually by "anchoring" the end of the match. That might be:
> >
> >   myrule: 'stuff' mysubrule(?) ...!ID
> 
> it seems necessary to return a { 1 } here, as the rule
> fails otherwise, presumably because of the negative lookahead:
> 
>    myrule: 'stuff' mysubrule(?) ...!ID { 1 }

Oops. Thanks.

Damian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.