Quote:
Originally Posted by charlweed
None-the-less, the KEY for me was that if Calibre cannot match the entire expression, it dumps everything into <title>. If <title> is not in the expression, it seems to do nothing.
|
As to entire matching: There's no requirement to match the entire expression. As long as the title field gets matched, Calibre is happy. You can have subsequent series and series_index fields that match nothing in the filename, followed by an author field that matches something, and Calibre will happily use just the matched fields and ignore text that didn't match a field and ignore fields that didn't match any text.
Calibre must have a title for every book. If the regex you wrote for the title field doesn't match something (or you've omitted it), Calibre gives up on your regex and reverts to using the entire filename as the title and Unknown as the author.