unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9183: js-mode highlights quotes inside regexp character sets as string
@ 2011-07-27 19:27 Štěpán Němec
  2011-08-05 16:54 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Štěpán Němec @ 2011-07-27 19:27 UTC (permalink / raw)
  To: 9183

The following is valid JavaScript:

/[']/.test(str)

js-mode erroneously highlights everything following `'' as a string.
Same problem with `"'.

-- 
Štěpán





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-08-12 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27 19:27 bug#9183: js-mode highlights quotes inside regexp character sets as string Štěpán Němec
2011-08-05 16:54 ` Stefan Monnier
2011-08-06 11:34   ` Štěpán Němec
2011-08-12 15:48     ` Stefan Monnier
2011-08-12 16:47       ` Daniel Colascione
2011-08-12 17:25       ` Štěpán Němec

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).