Experiment with escaping hyphens

This commit is contained in:
Ines Montani 2019-03-09 02:05:26 +01:00
parent 6708df3d2c
commit 9b42e2d5dd

View File

@ -215,7 +215,7 @@ _punct = (
r"… …… , : ; \! \? ¿ ؟ ¡ \( \) \[ \] \{ \} < > _ # \* & 。 · । ، ؛ ٪"
)
_quotes = r'\' " ” “ ` ´ , „ » « 「 」 『 』 【 】 《 》 〈 〉'
_hyphens = "- -- --- —— ~"
_hyphens = r"\- \-\- \-\-\- —— ~"
# Various symbols like dingbats, but also emoji
# Details: https://www.compart.com/en/unicode/category/So