Some crazy regex for parsing chapters for poorly named files.
This commit is contained in:
parent
8683c81361
commit
6097a2acf0
2 changed files with 13 additions and 0 deletions
|
@ -115,6 +115,10 @@ namespace API.Parser
|
|||
new Regex(
|
||||
@"(?<Series>.*) S(?<Volume>\d+) (?<Chapter>\d+)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
// Beelzebub_01_[Noodles].zip
|
||||
new Regex(
|
||||
@"^((?!v|vo|vol|Volume).)*( |_)(?<Chapter>\.?\d+)( |_)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled),
|
||||
|
||||
};
|
||||
private static readonly Regex[] MangaEditionRegex = new[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue