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