atom / language-clojure

Clojure package for Atom
Other
49 stars 48 forks source link

Incorrect highlighting of escaped-backslashes in RegExp literals #41

Closed parasyte closed 8 years ago

parasyte commented 8 years ago

When an escaped-backslash sequence is placed at the end of a RegExp literal, the syntax highlighter gets confused and attempts to escape the closing double-quote character. See screenshots.

Bad: screen shot 2016-03-23 at 6 07 59 pm

Good (inserted a superfluous character): screen shot 2016-03-23 at 6 08 26 pm