diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2021-02-08 22:52:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-08 22:52:58 +0900 |
| commit | aea1c4f3108070c3da599c48d0cbcf49406226bd (patch) | |
| tree | 91f2dc8e5c756ef2ee411515b42ead5b382c5271 /Emby.Naming/Common/NamingOptions.cs | |
| parent | 6c2eb5fc7e872a29b4a0951849681ae0764dbb8e (diff) | |
| parent | 256bb3ee989082ed10bfb0cb3f02481bf3292a43 (diff) | |
Merge pull request #5142 from M0ssTee/updateRegex
Replaced /d with [0-9], see issue #2923
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
| -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 ba4446ff1..413976d9d 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -588,7 +588,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*$" }; |
