Hi, in ANTLR lexers, the "not" rule depends on the charVocabulary of the lexer. If you want to have the "not" rule match really any character, you have to make sure it's included in you lexers char vocabulary. > | ~('*'| '\r' | '\n') Martin