* lexer.rl: make lexing faster and improve parsing speed by ~60%.