afterword

This commit is contained in:
xenofem 2024-04-20 13:08:21 -04:00
parent acf99d236b
commit d33d4816c6

View file

@ -65,11 +65,13 @@ FRONT_COVER_REGEX = re.compile('(?<!裏)表紙(?!裏)|(?<!back[-_ ])(?<!back)cov
BACK_COVER_REGEX = re.compile('裏表紙|hyou?sh?i[-_ ]?ura|ura[-_ ]?hyou?sh?i', re.I)
BONUS_REGEX = re.compile('設定|キャラ|特典|ポスター|bonus', re.I)
EPILOGUE_REGEX = re.compile('after|後日談|おまけ', re.I)
AFTERWORD_REGEX = re.compile('あとがき', re.I)
SPLITS = [
{ 'later': TEXTLESS_REGEX },
{ 'later': FXLESS_REGEX },
{ 'earlier': FRONT_COVER_REGEX, 'later': BACK_COVER_REGEX },
{ 'later': BONUS_REGEX },
{ 'later': AFTERWORD_REGEX },
{ 'later': EPILOGUE_REGEX },
]