-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Description
When the "
character appears in a Regex, the highlighting is attempting to treat it as a binary rather than just another character in the Regex. So, for example, if I have a Regex such as:
regex = ~r/<a href="([^"]*)"/
# Some comment
i = index
the highlighting looks like this:
So it looks like it's thinking that part of the Regex is a string. And then, since there are an odd number of "
characters in the Regex, the remainder of the file's highlighting is off since it's waiting to have the "
closed.
I haven't yet been able to determine how to actually fix it. :) I see there are a number of lines handling sigils and a number of lines handling regexes. I thought I'd report things here in case anyone might have ideas as I research more.
Metadata
Metadata
Assignees
Labels
No labels