From 7f99f97a62b0b1da9b130b9f211144e302556b85 Mon Sep 17 00:00:00 2001 From: niksedk Date: Sun, 15 Jan 2023 08:43:40 +0100 Subject: [PATCH] Allow two more chars in C-tag Work on #6585 --- src/libse/SubtitleFormats/WebVTT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libse/SubtitleFormats/WebVTT.cs b/src/libse/SubtitleFormats/WebVTT.cs index 55870a2d4..0e57e075f 100644 --- a/src/libse/SubtitleFormats/WebVTT.cs +++ b/src/libse/SubtitleFormats/WebVTT.cs @@ -592,7 +592,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats public override void RemoveNativeFormatting(Subtitle subtitle, SubtitleFormat newFormat) { var regexWebVttColorMulti = new Regex(@"", RegexOptions.Compiled); - var regexRemoveCTags = new Regex(@"\", RegexOptions.Compiled); + var regexRemoveCTags = new Regex(@"\", RegexOptions.Compiled); var regexRemoveTimeCodes = new Regex(@"\<\d+:\d+:\d+\.\d+\>", RegexOptions.Compiled); // <00:00:10.049> var regexTagsPlusWhiteSpace = new Regex(@"(\{\\an\d\})[\s\r\n]+", RegexOptions.Compiled); // <00:00:10.049>