+3

Javascript RegEx highlighted incorrectly with square brackets

Eduardo Cereto Carvalho il y a 13 ans mis à jour il y a 13 ans 0
An Example of a regex that is parsed incorrectly by the highlighter.

/^\/[^/]+test/

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.