leohemsted / smartypants.py

Translate plain ASCII punctuation characters into “smart” typographic punctuation HTML entities.
Other
21 stars 9 forks source link

invalid escape sequence \S #14

Open irmen opened 5 years ago

irmen commented 5 years ago

(Smartypants 2.0.1, cpython 3.8)

.eggs/smartypants-2.0.1-py3.8.egg/smartypants.py:277 /home/irmen/Projects/Tale/.eggs/smartypants-2.0.1-py3.8.egg/smartypants.py:277: SyntaxWarning: invalid escape sequence \S if re.match("\S", prev_token_last_char):

edit: I think this used to be DeprecationWarning in previous Python versions, which may explain that it only popped up now in my tests when running on the upcoming 3.8 version

edit: just saw there is already a PR for this #13

mbechard commented 3 years ago

Any reason why this PR hasn't been merged?

irmen commented 3 years ago

no idea the author of said PR just closed it without merging it it seems. 🤷‍♂️ this project was last updated in 2017 so i think it's abandoned, tbh