[antlr-interest] How to handle multicharacter delimiters?
    Andrew Lentvorski 
    bsder at allcaps.org
       
    Wed Jul 25 18:36:33 PDT 2007
    
    
  
Andrew Lentvorski wrote:
> Jim Idle wrote:
>> FREETEXT:    {flgFreeText}?=> ( { ! (LA(1) == '$' && LA(2) == 'e' && 
>> LA(3) == 'n' && LA(4) == 'd') }?=> .)+;
>>
>> Should do it I think?
> 
> WHOA!  That rocks.  I need to go check that out.
Got it.
FREETEXT:	{flgFreeText}?=> ( { ! (input.LA(1) == '$' && input.LA(2) == 'e' && input.LA(3) == 'n' && input.LA(4) == 'd') }?=> .)+;
Where is that documented?  Is that in TDAR?
Thanks,
-a
    
    
More information about the antlr-interest
mailing list