CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.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)