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
that suggest optimizing the grammar for easy consumption rather than full spec conformance. In this case, if you were looking to mark this as invalid, you could have a highlight query:
(class_range
(character_class_escape) @error)
which would highlight the \w. IMO this is a better indication of the problem than what regex101 provides in this example if you interpret this as an invalid range (albeit it's arguable).
The problem isn't the \w it's the invalid -
This is an interesting case. while regex101 flags it as invalid, regexr allows it bennypowers/nvim-regexplainer@98c45db
expected: error
The text was updated successfully, but these errors were encountered: