CodeQL library for Python
codeql/python-all 3.0.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)