aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video/FileStackRule.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-03-03 10:42:24 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-03-03 10:42:24 +0100
commit80b8661008f271efad595e75de7b0c50971b131b (patch)
treeb756d3993b4482fbf4ef91102be322cc542596ec /Emby.Naming/Video/FileStackRule.cs
parent7af6694594cfc71644b336a2bba459c2f439369b (diff)
parent0de37e2ac2fcde85171336ac70d721060012fd78 (diff)
Merge branch 'master' into network-rewrite
Diffstat (limited to 'Emby.Naming/Video/FileStackRule.cs')
-rw-r--r--Emby.Naming/Video/FileStackRule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/Video/FileStackRule.cs b/Emby.Naming/Video/FileStackRule.cs
index 76b487f42..be0f79d33 100644
--- a/Emby.Naming/Video/FileStackRule.cs
+++ b/Emby.Naming/Video/FileStackRule.cs
@@ -17,7 +17,7 @@ public class FileStackRule
/// <param name="isNumerical">Whether the file stack rule uses numerical or alphabetical numbering.</param>
public FileStackRule(string token, bool isNumerical)
{
- _tokenRegex = new Regex(token, RegexOptions.IgnoreCase);
+ _tokenRegex = new Regex(token, RegexOptions.IgnoreCase | RegexOptions.Compiled);
IsNumerical = isNumerical;
}