Broaden matching to include roman numerals
This commit is contained in:
parent
b75edb2136
commit
fd6ce2a51e
1 changed files with 1 additions and 1 deletions
2
main.go
2
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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue