Quote:
Originally Posted by ILB
Enclosed the debug log.
|
Relevant parts:
Code:
FFF: ERROR: 2020-05-29 17:50:14,265: calibre_plugins.fanficfare_plugin.fanficfare.story(633): Exception with replacement line,value:(category=>^(.*Football RPF.*)$=>Fußball RPF | Football RPF\),(Fußball RPF | Football RPF)
...
File "calibre_plugins.fanficfare_plugin.fanficfare.story", line 630, in doReplacements
File "re.py", line 286, in _subx
File "re.py", line 273, in _compile_repl
error: bogus escape (end of line)
Searching for that error yields
this:
"bogus escape (end of line)" means that your pattern ends with a backslash.
And apparently it also applies to the replacement pattern, since this is the line causing it:
category=>^(.*Football RPF.*)$=>Fußball RPF | Football RPF\
So take off that trailing \ and it should be fine.
FYI, FFF checks the regexp part when you saving personal.ini, so it alerts you to that problem in the regexp, but not the replacement pattern.