This commit is contained in:
Claudio Santini 2025-01-16 15:22:04 +01:00
parent 16ffbdcac5
commit 4fdc550771

View file

@ -100,9 +100,12 @@ def is_chapter(c):
part = r"part\d{1,3}"
if re.search(part, name):
return True
# ch = r"ch\d{1,3}"
# if re.search(ch, name):
# return True
ch = r"ch\d{1,3}"
if re.search(ch, name):
return True
chap = r"chap\d{1,3}"
if re.search(chap, name):
return True
if 'chapter' in name:
return True