From cede0444fc84f0fe7409782a0ded1926e8a076ad Mon Sep 17 00:00:00 2001 From: oliverpool Date: Sun, 4 Jun 2017 11:43:03 +0200 Subject: [PATCH] fix DeprecationWarning: invalid escape sequence \e --- patacrep/authors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/authors.py b/patacrep/authors.py index 03221ebc..e904910b 100644 --- a/patacrep/authors.py +++ b/patacrep/authors.py @@ -33,7 +33,7 @@ def split_author_names(string): >>> split_author_names("Edgar Allan Poe") ('Poe', 'Edgar Allan') - >>> split_author_names("Edgar Allan \emph {Poe}") + >>> split_author_names("Edgar Allan \\emph {Poe}") ('{Poe}', 'Edgar Allan \\emph') >>> split_author_names(r"The Rolling\ Stones") ('Rolling~Stones', 'The')