Predicate RegExp::maybeGlobal
Holds if flags includes the g flag or is the unknown flag ?.
Import path
import semmle.javascript.Regexppredicate maybeGlobal(string flags)Holds if flags includes the g flag or is the unknown flag ?.
import semmle.javascript.Regexppredicate maybeGlobal(string flags)