9 references to DescribeCapture
System.Text.RegularExpressions.Generator (9)
RegexGenerator.Emitter.cs (9)
2254writer.WriteLine($"// If the {DescribeCapture(node.M, rm)} hasn't matched, the backreference matches with RegexOptions.ECMAScript rules."); 2262writer.WriteLine($"// If the {DescribeCapture(node.M, rm)} hasn't matched, the backreference doesn't match."); 2332writer.WriteLine($"// The {DescribeCapture(node.M, rm)} captured a value. Match the first branch."); 5602RegexNodeKind.Capture when node.M == -1 && node.N != -1 => $"Non-capturing balancing group. Uncaptures the {DescribeCapture(node.N, rm)}.", 5603RegexNodeKind.Capture when node.N != -1 => $"Balancing group. Captures the {DescribeCapture(node.M, rm)} and uncaptures the {DescribeCapture(node.N, rm)}.", 5604RegexNodeKind.Capture when node.N == -1 => $"{DescribeCapture(node.M, rm)}.", 5621RegexNodeKind.Backreference => $"Match the same text as matched by the {DescribeCapture(node.M, rm)}{direction}.", 5627RegexNodeKind.BackreferenceConditional => $"Conditionally match one of two expressions depending on whether the {DescribeCapture(node.M, rm)} matched.",