mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	Removed a Unit test that we don't support yet for ranged volumes. Added a new case for Parser for v1.1 chapter parsing.
This commit is contained in:
		
							parent
							
								
									fa71a40990
								
							
						
					
					
						commit
						521eac266a
					
				@ -12,7 +12,7 @@ namespace API.Tests
 | 
				
			|||||||
        [InlineData("B_Gata_H_Kei_v01[SlowManga&OverloadScans]", "1")]
 | 
					        [InlineData("B_Gata_H_Kei_v01[SlowManga&OverloadScans]", "1")]
 | 
				
			||||||
        [InlineData("BTOOOM! v01 (2013) (Digital) (Shadowcat-Empire)", "1")]
 | 
					        [InlineData("BTOOOM! v01 (2013) (Digital) (Shadowcat-Empire)", "1")]
 | 
				
			||||||
        [InlineData("Gokukoku no Brynhildr - c001-008 (v01) [TrinityBAKumA]", "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("Akame ga KILL! ZERO v01 (2016) (Digital) (LuCaZ).cbz", "1")]
 | 
				
			||||||
        [InlineData("v001", "1")]
 | 
					        [InlineData("v001", "1")]
 | 
				
			||||||
        [InlineData("[Suihei Kiki]_Kasumi_Otoko_no_Ko_[Taruby]_v1.1.zip", "1")]
 | 
					        [InlineData("[Suihei Kiki]_Kasumi_Otoko_no_Ko_[Taruby]_v1.1.zip", "1")]
 | 
				
			||||||
 | 
				
			|||||||
@ -83,6 +83,12 @@ namespace API.Parser
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
                @"(c|ch)(\.? ?)(?<Chapter>\d+-?\d*)",
 | 
					                @"(c|ch)(\.? ?)(?<Chapter>\d+-?\d*)",
 | 
				
			||||||
                RegexOptions.IgnoreCase | RegexOptions.Compiled),
 | 
					                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),
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user