Browse Source

Update MediaBrowser.MediaEncoding/Subtitles/AssParser.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
M0ssTee 4 years ago
parent
commit
256bb3ee98
1 changed files with 1 additions and 1 deletions
  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 = 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);
                     trackEvents.Add(subEvent);
                 }
                 }