aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-09 00:47:03 +0900
committerGitHub <noreply@github.com>2021-02-09 00:47:03 +0900
commit76fdf739916e85764dff57f54cacf5e8f9126ab4 (patch)
tree6d0056e56c1e448a999057d15d05b096b85bac5b
parentf0212d377e3b33f1ffe204fac5ccb9700efacd26 (diff)
parent88f37833df41bdb4865b90bfb16319b5bd6d2695 (diff)
Merge pull request #5189 from jellyfin/antiunicode
Remove last usage of \d
-rw-r--r--Emby.Naming/Common/NamingOptions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs
index 413976d9d..22a3e8bb4 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -284,7 +284,7 @@ namespace Emby.Naming.Common
// Not a Kodi rule as well, but below rule also causes false positives for triple-digit episode names
// [bar] Foo - 1 [baz] special case of below expression to prevent false positives with digits in the series name
- new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[\s_]*-[\s_]*(?<epnumber>\d+).*$")
+ new EpisodeExpression(@".*?(\[.*?\])+.*?(?<seriesname>[\w\s]+?)[\s_]*-[\s_]*(?<epnumber>[0-9]+).*$")
{
IsNamed = true
},