Javascript RegEx highlighted incorrectly with square brackets

Eduardo Cereto Carvalho 8 years ago updated 8 years ago 0
An Example of a regex that is parsed incorrectly by the highlighter.


The text inside the brackets don't need to be escaped. But if you don't ST won't correctly highlight the regex. So it get's a little weird after the /] combination.