View Single Post
Old 03-07-2021, 09:58 AM   #5611
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,027
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
when modifying chapter_title_strip_pattern, will Update Always fix the existing ones or do I need to overwrite? I tried it and it didn't work and I'm not sure if it was that or if I made a mistake.
Yes, changed chapter_title_strip_pattern is applied during Update Always.

Quote:
Originally Posted by ownedbycats View Post
I was trying to turn "2. Chapter 1: Title" (there was a prologue chapter) to just "Chapter 1: Title" (but keep "1. Another Title" intact) and I had some difficulty understanding how to do this from the defaults.ini comments
chapter_title_strip_pattern is generally used (by me, at least) with add_chapter_numbers. Strip off all leading numbers, then put them back on.

However, that doesn't help you if you are bothered by "2. Chapter 1: Title" when it is, in point of fact, the second chapter.

You might be able to get what you want with a look-ahead pattern for chapter_title_strip_pattern. Can't say I've remember ever trying.
JimmXinu is online now   Reply With Quote