From 5957790ce82ef4ea1f15ab7942bce59de91a44c4 Mon Sep 17 00:00:00 2001 From: TonyB Date: Sat, 12 Oct 2024 17:08:30 +0800 Subject: Use [0-9] instead of \d --- Emby.Naming/Common/NamingOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Emby.Naming') 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*)?(?\[[^\]]+\]|[^[\]]+)\s*\[(?\d+)\]") + new EpisodeExpression(@"(?:\[(?:[^\]]+)\]\s*)?(?\[[^\]]+\]|[^[\]]+)\s*\[(?[0-9]+)\]") { IsNamed = true }, -- cgit v1.2.3