Quote:
Originally Posted by TheArtfulDodger
As for Author Mapping Rules, I can find, in the 'Adding Books' preferences, the author mapping rule that's there, under 'Rules to Manipulate Author Names' but I don't know if what's there is a rule or an example {Change the author name, if it matches regex expression (.*),(.*) to the name \2\1} but I didn't put that there so, unless it's been changed recently, I don't think it applies. [My understanding of what the regex (even in university, regex expressions were not my strong point!) says is 'if name,name' change it to whatever \2\1 means but that's not the kind of construction I've been seeing.]
|
I don't have that line. "Someone" must have added it sometime in the distant past.
The rule is intended to change "LN, FN" names to "FN LN". However, starting in calibre 5 the regex engine changed, allowing .* to match the empty string even when it can match more than that. Does changing the regex expression to "(.+),(.+)" fix your problem?