Fix AO3 chapterstotal replace_metadata for multi digits.

This commit is contained in:
Jim Miller 2019-11-19 13:17:35 -06:00
parent 716679b012
commit aaceecef99
2 changed files with 2 additions and 2 deletions

View file

@ -1239,7 +1239,7 @@ include_in_freefromtags:freeformtags
## chapterstotal is just the total chapters part after the /
include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
chapterstotal=>^([0-9])/(.+)$=>\2
chapterstotal=>^([0-9])+/(.+)$=>\2
## adds to titlepage_entries instead of replacing it.
#extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,chapterslashtotal,chapterstotal,kudos,hits,bookmarks,bookmarked,bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,byline

View file

@ -1275,7 +1275,7 @@ include_in_freefromtags:freeformtags
## chapterstotal is just the total chapters part after the /
include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
chapterstotal=>^([0-9])/(.+)$=>\2
chapterstotal=>^([0-9])+/(.+)$=>\2
## adds to titlepage_entries instead of replacing it.
#extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,chapterslashtotal,chapterstotal,kudos,hits,bookmarks,bookmarked,bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,byline