From fd6ce2a51e29831fae46f4529c41c6a3ce14c714 Mon Sep 17 00:00:00 2001 From: Neshura <neshura@neshweb.net> Date: Tue, 18 Feb 2025 22:59:16 +0100 Subject: [PATCH] Broaden matching to include roman numerals --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index bfd67c1..19a1f41 100644 --- a/main.go +++ b/main.go @@ -822,7 +822,7 @@ func GenerateMangaChapterList(navigation FileWrapper) *list.List { label := navChapter.FindElement("./navLabel/text").Text() page := navChapter.FindElement("./content") - regex := "(?:Chapter|Episode) ([0-9]*)" + regex := "(?:Chapter|Episode) ([0-9IVXLCDM]*)" match, _ := regexp.MatchString(regex, label) if match {