瀏覽代碼

Update MediaBrowser.MediaEncoding/Subtitles/AssParser.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
M0ssTee 4 年之前
父節點
當前提交
256bb3ee98
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.MediaEncoding/Subtitles/AssParser.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Subtitles/AssParser.cs

@@ -57,7 +57,7 @@ namespace MediaBrowser.MediaEncoding.Subtitles
 
                     subEvent.Text = subEvent.Text.Replace("\\n", ParserValues.NewLine, StringComparison.OrdinalIgnoreCase);
 
-                    subEvent.Text = Regex.Replace(subEvent.Text, @"\{(\\[\w]+\(?([\w[0-9]]+,?)+\)?)+\}", string.Empty, RegexOptions.IgnoreCase);
+                    subEvent.Text = Regex.Replace(subEvent.Text, @"\{(\\[\w]+\(?([\w0-9]+,?)+\)?)+\}", string.Empty, RegexOptions.IgnoreCase);
 
                     trackEvents.Add(subEvent);
                 }