mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-23 06:31:28 +00:00
Fixed: Naming validation when using max token length
This commit is contained in:
parent
1006ec6b52
commit
904285045b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace NzbDrone.Core.Organizer
|
|||
|
||||
public static readonly Regex AirDateRegex = new Regex(@"\{Air(\s|\W|_)Date\}", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public static readonly Regex SeriesTitleRegex = new Regex(@"(?<token>\{(?:Series)(?<separator>[- ._])(Clean)?Title(The)?(Without)?(Year)?\})",
|
||||
public static readonly Regex SeriesTitleRegex = new Regex(@"(?<token>\{(?:Series)(?<separator>[- ._])(Clean)?Title(The)?(Without)?(Year)?(?::(?<customFormat>[0-9-]+))?\})",
|
||||
RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
private static readonly Regex FileNameCleanupRegex = new Regex(@"([- ._])(\1)+", RegexOptions.Compiled);
|
||||
|
|
Loading…
Reference in a new issue