You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 breaks
token var1 { <[" a..r ]> } # works correctly
token var1 { <-[" a..r ]> } # rest of document is string
token var3 { <-[\" a..r ]> } # rest of document is string
token var4 { <-['"' a..r ]> } # works correctly but REJECTED BY PERL6
token quoted_string { \" .*? \" } # rest of document is string
token quoted_string { '"' .*? '"' } # works correctly
Please fix
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: