This commit is contained in:
db-2001
2024-03-29 23:59:16 -04:00
parent 05190bc9e2
commit d5b6d4e8ee
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public readonly struct Chapter : IComparable
public string fileName { get; }
private static readonly Regex LegalCharacters = new (@"([A-z]*[0-9]* *\.*-*,*\]*\[*'*\'*\)*\(*~*!*)*");
private static readonly Regex IllegalStrings = new(@"Vol(ume)?.?", RegexOptions.IgnoreCase);
private static readonly Regex IllegalStrings = new(@"(Vol(ume)?|Ch(apter)?)\.?", RegexOptions.IgnoreCase);
private static readonly Regex Digits = new(@"[0-9\.]*");
public Chapter(Manga parentManga, string? name, string? volumeNumber, string chapterNumber, string url)
{