[antlr-interest] greedy=false for lexersBy default

Terence Parr parrt at cs.usfca.edu
Fri May 23 16:26:22 PDT 2008


On May 23, 2008, at 4:21 PM, Terence Parr wrote:

> it is specific to a block.
>
> ~'"' doesn't work if you need escapes etc...
>
>>> STRING : '"' ('\\' '"'|.)* '"' ;

oh, ~'"' inside.  perhaps ~('\\'|'") inside * loop.
Ter


More information about the antlr-interest mailing list