diff --git a/patacrep/authors.py b/patacrep/authors.py index 769f2090..94e07f92 100644 --- a/patacrep/authors.py +++ b/patacrep/authors.py @@ -71,7 +71,7 @@ def split_sep_author(string, sep): - string: string containing authors names ; - sep: regexp matching a separator. - >>> split_sep_author("Tintin and Milou", '^(.*) and (.*)$') + >>> split_sep_author("Tintin and Milou", re.compile('^(.*) and (.*)$')) ["Tintin", "Milou"] """ authors = []