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