CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.2.1-dev (changelog, source)
Search

Primitive predicate string::regexpMatch

Holds when the given regular expression matches the entire receiver. The regex format used is Java’s Pattern.

predicate regexpMatch(string regexp)