Skip to content

Commit 93c2dad

Browse files
committed
Fixes false positives from commit 445552d
1 parent 445552d commit 93c2dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/MembershipCandidates.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ module MembershipCandidate {
193193
or
194194
// u.match(/re/) or u.match("re")
195195
base = this and
196-
m = "match" and
196+
m = ["match", "matchAll"] and
197197
enumeration = RegExp::getRegExpFromNode(firstArg)
198198
)
199199
}

0 commit comments

Comments
 (0)