From 16571016f0363bbb9b316faa8319a66db3c9c6a6 Mon Sep 17 00:00:00 2001 From: ericpromislow Date: Tue, 30 Oct 2012 14:54:00 -0700 Subject: [PATCH] Make [.../...] warning error that unescaped '/'s are allowed in [...] but should be escaped --- src/stable/jshint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stable/jshint.js b/src/stable/jshint.js index 60fb952dc2..0c554bf9cb 100644 --- a/src/stable/jshint.js +++ b/src/stable/jshint.js @@ -1530,7 +1530,7 @@ klass: } break; case "/": - warningAt("Unescaped '{a}'.", + warningAt("'{a}' in character sets should be escaped.", line, from + l - 1, "/"); if (isInRange) {