[type]
Lexer

[grammar]
lexer grammar L;
I : ~[ab \n] ~[ \ncd]* {<writeln("\"I\"")>} ;
WS : [ \n\\u000D]+ -> skip ;

[input]
xaf

[output]
I
[@0,0:2='xaf',<1>,1:0]
[@1,3:2='<EOF>',<-1>,1:3]

