CodeQL library for C#
codeql/csharp-all 3.1.1-dev (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)