rouge
rouge copied to clipboard
Remove Regexps and espace $ from Terraform Lexer
Solves the original issue from #1304, the issue #2087 as well as single quoted regexps.
This behavior matches the GitHub highlighter by not highlighting Regular expressions and considering them as String instead. I'm open to any challenge if someone has a use-case for Regexps or is able to implement some kind of backtracking/lookahead.
Screenshot of the result: