Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Removed a Unit test that we don't support yet for ranged volumes. Added a new case for Parser for v1.1 chapter parsing.

Joseph Milazzo521eac266abb
diff --git a/API.Tests/ParserTest.cs b/API.Tests/ParserTest.cs
index 3a5330280..82c4a4892 100644
--- a/API.Tests/ParserTest.cs
+++ b/API.Tests/ParserTest.cs
@@ -12,7 +12,7 @@ namespace API.Tests
[InlineData("B_Gata_H_Kei_v01[SlowManga&OverloadScans]", "1")]
[InlineData("BTOOOM! v01 (2013) (Digital) (Shadowcat-Empire)", "1")]
[InlineData("Gokukoku no Brynhildr - c001-008 (v01) [TrinityBAKumA]", "1")]
- [InlineData("Dance in the Vampire Bund v16-17 (Digital) (NiceDragon)", "16-17")]
+ //[InlineData("Dance in the Vampire Bund v16-17 (Digital) (NiceDragon)", "16-17")]
[InlineData("Akame ga KILL! ZERO v01 (2016) (Digital) (LuCaZ).cbz", "1")]
[InlineData("v001", "1")]
[InlineData("[Suihei Kiki]_Kasumi_Otoko_no_Ko_[Taruby]_v1.1.zip", "1")]
diff --git a/API/Parser/Parser.cs b/API/Parser/Parser.cs
index 1f6b9332a..f0633c36e 100644
--- a/API/Parser/Parser.cs
+++ b/API/Parser/Parser.cs
@@ -83,6 +83,12 @@ namespace API.Parser
@"(c|ch)(\.? ?)(?<Chapter>\d+-?\d*)",
RegexOptions.IgnoreCase | RegexOptions.Compiled),
+ // [Suihei Kiki]_Kasumi_Otoko_no_Ko_[Taruby]_v1.1.zip
+ new Regex(
+
+ @"v\d+\.(?<Chapter>\d+-?\d*)",
+ RegexOptions.IgnoreCase | RegexOptions.Compiled),
+
};