Browse Source

fix DeprecationWarning: invalid escape sequence \e

pull/254/head
oliverpool 7 years ago
parent
commit
cede0444fc
  1. 2
      patacrep/authors.py

2
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')

Loading…
Cancel
Save