Don't add the `g` flag

This commit is contained in:
Robin Ward 2014-11-07 12:09:45 -05:00
parent 0044a99000
commit 8199c3b440
1 changed files with 0 additions and 1 deletions

View File

@ -84,7 +84,6 @@ function anchorRegexp(regex) {
var flags = "";
if (regex.global) {
flags += "g";
if (typeof console !== 'undefined') {
console.warn("attribute validation regex should not be global");
}