allow higher version of regex library

This commit is contained in:
Alex Riina
2015-03-08 00:36:19 -05:00
committed by Alex Riina
parent e3ef622031
commit 215e36e9ed
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ from talon.signature.constants import SIGNATURE_MAX_LINES
rc = re.compile
RE_EMAIL = rc('@')
RE_RELAX_PHONE = rc('.*(\(? ?[\d]{2,3} ?\)?.{,3}){2,}')
RE_RELAX_PHONE = rc('(\(? ?[\d]{2,3} ?\)?.{,3}?){2,}')
RE_URL = rc(r'''https?://|www\.[\S]+\.[\S]''')
# Taken from: