minor lexer error improvement
remove unused regexes