Escape more hyphens

This commit is contained in:
Ines Montani 2019-03-09 12:41:05 +01:00
parent b8db219850
commit bbabb6aaae

View File

@ -7,7 +7,7 @@ from ..char_classes import CONCAT_QUOTES, UNITS, ALPHA, ALPHA_LOWER, ALPHA_UPPER
ELISION = " ' ".strip().replace(" ", "").replace("\n", "")
HYPHENS = r"- ".strip().replace(" ", "").replace("\n", "")
HYPHENS = r"\- ".strip().replace(" ", "").replace("\n", "")
_suffixes = (