Differential lexer