diff options
| author | TonyB <zbtsebuaa@outlook.com> | 2024-10-12 17:08:30 +0800 |
|---|---|---|
| committer | TonyB <zbtsebuaa@outlook.com> | 2024-10-12 17:09:18 +0800 |
| commit | 5957790ce82ef4ea1f15ab7942bce59de91a44c4 (patch) | |
| tree | c11ba7c5e7a12155b8cb66df364a6ec256bb1822 | |
| parent | 79ee36ee155483fcbb2b2863f549b68034634dbc (diff) | |
Use [0-9] instead of \d
| -rw-r--r-- | Emby.Naming/Common/NamingOptions.cs | 2 |
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 }, |
