aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTonyB <zbtsebuaa@outlook.com>2024-10-12 17:08:30 +0800
committerTonyB <zbtsebuaa@outlook.com>2024-10-12 17:09:18 +0800
commit5957790ce82ef4ea1f15ab7942bce59de91a44c4 (patch)
treec11ba7c5e7a12155b8cb66df364a6ec256bb1822
parent79ee36ee155483fcbb2b2863f549b68034634dbc (diff)
Use [0-9] instead 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 f04346594..48338daf4 100644
--- a/Emby.Naming/Common/NamingOptions.cs
+++ b/Emby.Naming/Common/NamingOptions.cs
@@ -471,7 +471,7 @@ namespace Emby.Naming.Common
// Anime style expression
// "[Group][Series Name][21][1080p][FLAC][HASH]"
// "[Group] Series Name [04][BDRIP]"
- new EpisodeExpression(@"(?:\[(?:[^\]]+)\]\s*)?(?<seriesname>\[[^\]]+\]|[^[\]]+)\s*\[(?<epnumber>\d+)\]")
+ new EpisodeExpression(@"(?:\[(?:[^\]]+)\]\s*)?(?<seriesname>\[[^\]]+\]|[^[\]]+)\s*\[(?<epnumber>[0-9]+)\]")
{
IsNamed = true
},