diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-02-20 16:07:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-20 08:07:51 -0700 |
| commit | 5b493e14accd6cd8b10b5a14b15e105f73a2724e (patch) | |
| tree | 196324ef4f51516516945d8e33b7b29ebdf45e1d /Emby.Naming/Video/FileStackRule.cs | |
| parent | e7a7edbac02f1cc0818b3f3614f55e579733905e (diff) | |
Improve alternate ordering (#9336)
Diffstat (limited to 'Emby.Naming/Video/FileStackRule.cs')
| -rw-r--r-- | Emby.Naming/Video/FileStackRule.cs | 2 |
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; } |
