protected override void WriteStartMatch(Capture capture) { Write(Options.Indent); if (OutputInfo != null) { Write(OutputInfo.GetText(capture, MatchCount + 1, groupName: Options.GroupName, captureNumber: -1)); } }
protected override void WriteStartMatch(ICapture capture) { ResultStorage?.Add(capture.Value); Write(Options.Indent); if (OutputInfo != null) { Write(OutputInfo.GetText(capture, MatchCount + 1, groupName: Options.GroupName)); } }
protected override void WriteStartMatch(ICapture capture) { ResultStorage?.Add(capture.Value); if (MatchCount == 0 || Options.Separator?.EndsWith('\n') != false) { Write(Options.Indent); } if (OutputInfo != null) { Write(OutputInfo.GetText(capture, MatchCount + 1, groupName: Options.GroupName)); } }
protected override void WriteStartMatch(Capture capture) { ResultStorage?.Add(capture.Value); if (MatchCount == 0 || Options.Separator == "\n" || Options.Separator == "\r\n") { Write(Options.Indent); } if (OutputInfo != null) { Write(OutputInfo.GetText(capture, MatchCount + 1, groupName: Options.GroupName, captureNumber: -1)); } }