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