CodeQL library for Swift
codeql/swift-all 2.0.2 (changelog, source)
Search

Primitive predicate string::regexpMatch

Holds when the given regular expression matches the entire receiver. The regex format used is Java’s Pattern.

predicate regexpMatch(string regexp)