CodeQL library for C/C++
codeql/cpp-all 2.0.2 (changelog, source)
Search

Primitive predicate string::regexpCapture

When the given regular expression matches the entire receiver, returns the substring matched by the given capture group (starting at 1). The regex format used is Java’s Pattern.

string regexpCapture(string regexp, int groupNumber)