Highlight comments in regular expressions. Two styles are supported:
(?# Block comments)
# Line comments
Note: This style only affects strings that start with (?x)
:
Geared toward authors of TextMate-compatible grammars.
By default, this package affects any language where the (?#…)
sequence is used inside a string.
If you'd like to restrict it to specific languages only, just use your stylesheet:
.syntax--string:not(.syntax--coffee),.syntax--string:not(.syntax--yaml) {& .syntax--oniguruma.syntax--comment {color: inherit;}}
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.