CodeQL library for Swift
codeql/swift-all 2.0.4-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)