glefait / socialregexes

Given urls, returns identified social accounts
MIT License
4 stars 1 forks source link

DeprecationWarning: invalid escape sequence #2

Closed jayvdb closed 4 years ago

jayvdb commented 4 years ago

Most of them are

DeprecationWarning: invalid escape sequence .

The others

socialregexes.py:9: DeprecationWarning: invalid escape sequence \+
    'phone': re.compile('^(?:tel|phone|mobile):(\+?[0-9. -]+)$'),
socialregexes.py:27: DeprecationWarning: invalid escape sequence \?
    'skype': re.compile('^skype:([a-zA-Z0-9_]+)(\?call)?$'),
socialregexes.py:51: DeprecationWarning: invalid escape sequence \?
    'codementor': re.compile('^https?://www.codementor.io/([a-zA-Z0-9]+)(?:\?[^/]+)?$'),
socialregexes.py:81: DeprecationWarning: invalid escape sequence \?
    'github': re.compile('github.com/(?:pulls|issues|blog|new|watching|site|security|contact|about|explore|integrations|settings|notifications|search(?:\?.*)?)$'),