[antlr-interest] help requested for selective whitespace

Martin Probst mail at martin-probst.com
Wed Feb 1 02:26:23 PST 2006


> a b c
> 
> to be valid, but not:
> 
> abc

Might this help?

NOTE: (a..f | A..F)* { if ($getText().length() > 1) throw ...; }

Martin



More information about the antlr-interest mailing list