Closed amoeba closed 4 years ago
They gave an index so the name of the second capture group that's also unnamed is $2. nice. https://docs.microsoft.com/en-us/dotnet/standard/base-types/grouping-constructs-in-regular-expressions#named_matched_subexpression
Also, do unnamed capture groups have a name or just an index?