aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugfixin <steve@bugfix.in>2019-04-19 18:35:28 +0000
committerbugfixin <steve@bugfix.in>2019-04-19 18:35:28 +0000
commitda842d5a730ea8db2fab8e4c71a501191d54e46c (patch)
tree029fd1b7433505c51c76c39bca681cfd13278816
parent0794a3edf48eb232030560c4a03587cd77f38b65 (diff)
Fix incorrect escaping in regex pattern
-rw-r--r--Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
index c9d4e4342..a70077163 100644
--- a/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
+++ b/Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs
@@ -149,7 +149,7 @@ namespace Emby.Server.Implementations.Library
}
// Ignore samples
- Match m = Regex.Match(filename,"\bsample\b",RegexOptions.IgnoreCase);
+ Match m = Regex.Match(filename,@"\bsample\b",RegexOptions.IgnoreCase);
return m.Success;
}