Remove comment about IE in |quoteForRegexpClass|

We escape null for general compatibility (see comment at the top of the
function), not only because of IE.
redux
David Majda 12 years ago
parent a0898388fb
commit d002cd6ff6

@ -128,7 +128,7 @@ function quoteForRegexpClass(s) {
.replace(/\//g, '\\/') // closing slash
.replace(/\]/g, '\\]') // closing bracket
.replace(/-/g, '\\-') // dash
.replace(/\0/g, '\\0') // null, IE needs this
.replace(/\0/g, '\\0') // null
.replace(/\t/g, '\\t') // horizontal tab
.replace(/\n/g, '\\n') // line feed
.replace(/\v/g, '\\x0B') // vertical tab

Loading…
Cancel
Save