Browse files

Make [.../...] warning error that unescaped '/'s are allowed in [...]…

… but should be escaped
  • Loading branch information...
1 parent 0e096ee commit 16571016f0363bbb9b316faa8319a66db3c9c6a6 ericpromislow committed Oct 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/stable/jshint.js
View
2 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) {

0 comments on commit 1657101

Please sign in to comment.