Various naming fixes

New: Multi-episode style (Range)
New: Example for mulit-episode anime naming
Fixed: Validate anime episode format when saving
This commit is contained in:
Mark McDowall
2014-11-16 21:31:53 -08:00
parent a83f49ca32
commit cf9f5fe569
10 changed files with 218 additions and 91 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ namespace NzbDrone.Core.Parser
RegexOptions.IgnoreCase | RegexOptions.Compiled),
//Episodes with airdate
new Regex(@"^(?<title>.+?)?\W*(?<airyear>\d{4})\W+(?<airmonth>[0-1][0-9])\W+(?<airday>[0-3][0-9])",
new Regex(@"^(?<title>.+?)?\W*(?<airyear>\d{4})\W+(?<airmonth>[0-1][0-9])\W+(?<airday>[0-3][0-9])(?!\W+[0-3][0-9])",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
//Supports 1103/1113 naming