Template Language Question
I have a quick question for the forum about calibre template language.
When saving my epubs to disk to match Calibre Companion's template I have:
{authors:sublist(0,1,&)}/{title:re([—®™],_)} - {authors:re(\.\,,)}
But I noticed that if an author's name ends in a period e.g., "Jr." CC ignores the period, not even replacing with an underscore, in creating a subdirectory based on the author's name.
My question is how can I use both a sublist and re when creating my subdirectory in the above template?
Thanks in advance for your expertise.
|