Thanks for your suggestion! This doesn't work unfortunately because the author
string doesn't contain the email addresses, i.e. no @ symbols (unless somebody
includes that in their name).
Cheers,
Lars
On Fri, 22 Dec 2023 23:24:37 +0100, Sandra Snan
wrote:
> Curses, flowed again! I'm just go
Curses, flowed again! I'm just gonna attach the file
email_list = "Diaz, Marco , s...@mewni.com, Marco Diaz , s...@mewni.com"
addresses = []
current_address = ""
for char in email_list:
if char == ',' and '@' in current_address:
addresses.append(current_address.strip())
curre
Lars Kotthoff writes:
Python […] I have to split the returned string, which is
error-prone with comma separators (e.g. name in email address is
of form Lastname, Firstname).
email_list = "Diaz, Marco , s...@mewni.com, Marco
Diaz , s...@mewni.com" addresses = []
current_address = "" for ch
Lars Kotthoff writes:
Python […] I have to split the returned string, which is
error-prone with comma separators (e.g. name in email address is
of form Lastname, Firstname).
email_list = "Diaz, Marco , s...@mewni.com, Marco
Diaz , s...@mewni.com" addresses = []
current_address = "" for ch
The attached patch allows to customize the default ", " and "| " separators in
author lists. The main rationale for supporting this is that the Python API
uses the same functionality to get the list of authors -- if I want to separate
them again afterwards, I have to split the returned string, w