Forráskód Böngészése

Fix incorrect escaping in regex pattern

bugfixin 6 éve
szülő
commit
da842d5a73

+ 1 - 1
Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs

@@ -149,7 +149,7 @@ namespace Emby.Server.Implementations.Library
                 }
                 }
 
 
                 // Ignore samples
                 // Ignore samples
-                Match m = Regex.Match(filename,"\bsample\b",RegexOptions.IgnoreCase);
+                Match m = Regex.Match(filename,@"\bsample\b",RegexOptions.IgnoreCase);
 
 
                 return m.Success;
                 return m.Success;
             }
             }