diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-01-11 15:12:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-11 15:12:39 +0900 |
| commit | d63debd0085c3203555ea4bd587c72fc171abb81 (patch) | |
| tree | be3807b0da950191690eb8263ef6fcdcdc062088 | |
| parent | dd7feacd342ce9e2a614fb932ae914c736bfc045 (diff) | |
| parent | 801c356d668069240e9197deb4ff648908c4ddbd (diff) | |
Merge pull request #2254 from Bond-009/regex
Fix regex for movies released after 2019
| -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 f3f70d3fe..a2105889b 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -177,7 +177,7 @@ namespace Emby.Naming.Common CleanDateTimes = new[] { - @"(.+[^_\,\.\(\)\[\]\-])[_\.\(\)\[\]\-](19[0-9][0-9]|20[0-1][0-9])([ _\,\.\(\)\[\]\-][^0-9]|).*(19[0-9][0-9]|20[0-1][0-9])*" + @"(.+[^_\,\.\(\)\[\]\-])[_\.\(\)\[\]\-](\d{4})([ _\,\.\(\)\[\]\-][^\d]|).*(\d{4})*" }; CleanStrings = new[] |
