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