[antlr-interest] Strangeness when parsing strings and spaces

Bart Kiers bkiers at gmail.com
Mon Jan 17 23:55:34 PST 2011


>
> A further question which I cannot find the answer too:
>
> What is the difference between 'a'..'z'+ and ('a'..'z')+ ??
>

In ANTLR v3.x, there is no difference (I seem to recall that in v2 of ANTLR,
the parenthesis were mandatory, in this case).

Regards,

Bart.


More information about the antlr-interest mailing list