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

Predicate Make::isLikelyCaptureGroup

Holds if group is likely to be used as a capture group.

Import path

import codeql.regex.HostnameRegexp
predicate isLikelyCaptureGroup(RegExpGroup group)