[antlr-interest] Match A with exception of B .....how do I do	that?
    Michael Bedward 
    michael.bedward at gmail.com
       
    Sun Feb 22 19:30:00 PST 2009
    
    
  
>
> Assume, there are two rules:
>
> 1)  A : character_set_a;
>
> 2)  B : character_set_b;
>
> How do I set up a rule for parsing a character which must be in the
>
> character_set_a but not in character_set_b?
>
Are the characters in the A and B sets mutually exclusive ?  I'm
guessing they are not otherwise you would not be asking your question.
 But perhaps if you provide a specific example of something that
wasn't working for you during your sleepless weekend you will get
better suggestions.
Michael
    
    
More information about the antlr-interest
mailing list