CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (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)