fix Lexer regular expression escaping on Linux