Open czipperz opened 9 years ago
Currently, perl6-mode
highlights all the contents of regexes and grammars in the same way as normal code, so they are mostly incorrectly highlighted (except by accident on occasion).
I'm working on syntax highlighting for nested constructs (strings, regexes, grammars, Q//, Pod), so I will address this soon.
I have been impacted by this as well, although in the meantime, using '"' in place of \" has worked.
i'd love to see this fixed soon.
The way the regex parser currently works is good enough in most cases, but when you try to escape the start of a sting, or try to use
<-[]>
, then it breaksPlease fix