Quote:
Originally Posted by firefoxxy
Hi Jimm
Sorry for my late reply - I'm travelling...
It's this issue:
Here's my (complete) personal.ini:
Thank you for looking into it!
|
If you run in debug mode, you can pick out the relevant error:
Code:
FFF: ERROR: 2016-08-17 17:08:49,210: calibre_plugins.fanficfare_plugin.fanficfare.story(588): Exception with replacement line,value:(genre=>^[mM]ention(s)? of (.*)=>\1),(Mention of Suicide - Not Severus or Harry)
The line with the problem is this:
Code:
genre=>^[mM]ention(s)? of (.*)=>\1
...with matching "Mention of Suicide - Not Severus or Harry". Because there's no
s, the first paren group is empty--that's the 'unmatched group'.
There's no need for the parens around the
s because it's a single letter. You can use this instead:
Code:
genre=>^[mM]entions? of (.*)=>\1
If, for some other pattern, you do need more than one character, you can use
(?:...) "A non-capturing version of regular parentheses."
Code:
genre=>^[mM]ention(?:s)? of (.*)=>\1