mirror of
https://github.com/Jackett/Jackett
synced 2025-01-04 22:41:49 +00:00
animebytes: match only single digits in season number regex
This commit is contained in:
parent
2ee5c39854
commit
bf341705fa
1 changed files with 1 additions and 1 deletions
|
@ -636,7 +636,7 @@ namespace Jackett.Common.Indexers.Definitions
|
|||
{
|
||||
var advancedSeasonRegex = new Regex(@"\b(?:(?<season>\d+)(?:st|nd|rd|th) Season|Season (?<season>\d+))\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
var seasonCharactersRegex = new Regex(@"(I{2,})$", RegexOptions.Compiled);
|
||||
var seasonNumberRegex = new Regex(@"\b(?<!Part[- ._])(?<!\d+[/])(?:S)?(?<season>[2-9])$", RegexOptions.Compiled);
|
||||
var seasonNumberRegex = new Regex(@"\b(?<!Part[- ._])(?<!\d[/])(?:S)?(?<season>[2-9])$", RegexOptions.Compiled);
|
||||
|
||||
foreach (var title in titles)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue