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

Predicate Make::matchesBeginningOfString

Holds if term will only ever be matched against the beginning of the input.

Import path

import codeql.regex.HostnameRegexp
predicate matchesBeginningOfString(RegExpTerm term)