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