Removed 회 as a volume parsing marker per request

This commit is contained in:
Joseph Milazzo 2025-06-20 14:30:43 -05:00
parent b381bc74e3
commit 09d9edd828
2 changed files with 2 additions and 4 deletions

View file

@ -68,10 +68,8 @@ public class MangaParsingTests
[InlineData("Манга Тома 1-4", "1-4")] [InlineData("Манга Тома 1-4", "1-4")]
[InlineData("Манга Том 1-4", "1-4")] [InlineData("Манга Том 1-4", "1-4")]
[InlineData("조선왕조실톡 106화", "106")] [InlineData("조선왕조실톡 106화", "106")]
[InlineData("죽음 13회", "13")]
[InlineData("동의보감 13장", "13")] [InlineData("동의보감 13장", "13")]
[InlineData("몰?루 아카이브 7.5권", "7.5")] [InlineData("몰?루 아카이브 7.5권", "7.5")]
[InlineData("주술회전 1.5권", "1.5")]
[InlineData("63권#200", "63")] [InlineData("63권#200", "63")]
[InlineData("시즌34삽화2", "34")] [InlineData("시즌34삽화2", "34")]
[InlineData("Accel World Chapter 001 Volume 002", "2")] [InlineData("Accel World Chapter 001 Volume 002", "2")]

View file

@ -165,9 +165,9 @@ public static partial class Parser
new Regex( new Regex(
@"(卷|册)(?<Volume>\d+)", @"(卷|册)(?<Volume>\d+)",
MatchOptions, RegexTimeout), MatchOptions, RegexTimeout),
// Korean Volume: 제n화|권|회|장 -> Volume n, n화|권|회|장 -> Volume n, 63권#200.zip -> Volume 63 (no chapter, #200 is just files inside) // Korean Volume: 제n화|회|장 -> Volume n, n화|권|장 -> Volume n, 63권#200.zip -> Volume 63 (no chapter, #200 is just files inside)
new Regex( new Regex(
@"제?(?<Volume>\d+(\.\d+)?)(권|회|화|장)", @"제?(?<Volume>\d+(\.\d+)?)(권|화|장)",
MatchOptions, RegexTimeout), MatchOptions, RegexTimeout),
// Korean Season: 시즌n -> Season n, // Korean Season: 시즌n -> Season n,
new Regex( new Regex(