|
|
#1 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Splitting of multiple authors
While reviewing the translated strings I found this one:
Code:
By default, calibre splits a string containing multiple author names on ampersands and the words "and" and "with". You can customize the splitting by changing the regular expression below. Strings are split on whatever the specified regular expression matches. Default: r'(?i),?\s+(and|with)\s+' |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,639
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Splitting on ampersands happens always irrespective of the regex, the regex is really used to specify additional things to split on, I've updated the documentation to make that clearer.
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple Authors | pdurrant | Calibre | 33 | 12-21-2017 01:37 PM |
| Multiple authors | ntome | Library Management | 2 | 02-10-2012 06:53 PM |
| How to specify multiple authors? | dotancohen | Calibre | 2 | 01-08-2011 02:33 PM |
| multiple authors in metadata | tulsa | Calibre | 14 | 04-02-2010 08:46 AM |
| Splitting the Bible into Multiple Files | SciFiGal777 | Ectaco jetBook | 3 | 03-27-2010 10:35 PM |