The presence of the square brackets makes single or double quotes font lock incorrectly with font-lock-string-face and the whole regexp block gets a default face.
/'isok/ # OK
/Brok'n/ # Broken
Looks like it's broken if there is any character before the quote mark.
The presence of the square brackets makes single or double quotes font lock incorrectly with
font-lock-string-face
and the whole regexp block gets a default face.Looks like it's broken if there is any character before the quote mark.