From 597abde115b5e2a42c7b1c4a18dbb7052fad0a43 Mon Sep 17 00:00:00 2001 From: Glax Date: Tue, 27 Feb 2024 22:04:14 +0100 Subject: [PATCH] Fix wrong chapter (and volume) numbers for chapters --- Tranga/Chapter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tranga/Chapter.cs b/Tranga/Chapter.cs index 41d1417..3178458 100644 --- a/Tranga/Chapter.cs +++ b/Tranga/Chapter.cs @@ -20,7 +20,7 @@ public readonly struct Chapter : IComparable private static readonly Regex LegalCharacters = new (@"([A-z]*[0-9]* *\.*-*,*\]*\[*'*\'*\)*\(*~*!*)*"); private static readonly Regex IllegalStrings = new(@"Vol(ume)?.?", RegexOptions.IgnoreCase); - private static readonly Regex Digits = new(@"[0-9]*"); + private static readonly Regex Digits = new(@"[0-9\.]*"); public Chapter(Manga parentManga, string? name, string? volumeNumber, string chapterNumber, string url) { this.parentManga = parentManga;