View Single Post
Old 10-01-2023, 12:05 PM   #73
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 409
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by chaley View Post
The problem is that the regex requires a space before and after the split indicator. My guess is that in the metadata there is a space after the semicolon but not before.

Try this:
Code:
authors_split_regex = '(?i),?(\\s+(and|with|und|mit|)\\s+|(;|•))'
It still requires spaces before and after the words but doesn't require spaces before or after the semicolon or the •.
Wiggo is offline   Reply With Quote