diff options
| author | Troy <47042611+M0ssTee@users.noreply.github.com> | 2021-02-01 02:46:30 +0000 |
|---|---|---|
| committer | Troy <47042611+M0ssTee@users.noreply.github.com> | 2021-02-01 02:49:23 +0000 |
| commit | 8c640a1492ad3722778636222a6c29d0cce8cdc9 (patch) | |
| tree | 32cecd98fe6b4fa698e11a8dc78d9a8414e04769 /Emby.Naming/Common | |
| parent | 4bcf684b7241af10c15459cf83cb93e536471c8c (diff) | |
Replaced /d with [0-9], see issue #2923
Diffstat (limited to 'Emby.Naming/Common')
| -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 035d1b2280..365f1a9268 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -587,7 +587,7 @@ namespace Emby.Naming.Common AudioBookNamesExpressions = new[] { // Detect year usually in brackets after name Batman (2020) - @"^(?<name>.+?)\s*\(\s*(?<year>\d{4})\s*\)\s*$", + @"^(?<name>.+?)\s*\(\s*(?<year>[0-9]{4})\s*\)\s*$", @"^\s*(?<name>[^ ].*?)\s*$" }; |
