Update lex_attrs.py. Fix like_url from matching on e-mail
@@ -82,6 +82,8 @@ def like_url(text):
return True
if text[0] == '.' or text[-1] == '.':
return False
+ if '@' in text: #prevent matches on e-mail addresses
+ return False
for i in range(len(text)):
if text[i] == '.':
break
