diff --git a/apprise/plugins/NotifyForm.py b/apprise/plugins/NotifyForm.py index ba81e5d2..600713b3 100644 --- a/apprise/plugins/NotifyForm.py +++ b/apprise/plugins/NotifyForm.py @@ -129,7 +129,8 @@ class NotifyForm(NotifyBase): }, } - def __init__(self, headers=None, method=None, payload=None, params=None, **kwargs): + def __init__(self, headers=None, method=None, payload=None, params=None, + **kwargs): """ Initialize Form Object diff --git a/apprise/plugins/NotifyXML.py b/apprise/plugins/NotifyXML.py index c238caf6..96c2f561 100644 --- a/apprise/plugins/NotifyXML.py +++ b/apprise/plugins/NotifyXML.py @@ -136,7 +136,8 @@ class NotifyXML(NotifyBase): }, } - def __init__(self, headers=None, method=None, payload=None, params=None, **kwargs): + def __init__(self, headers=None, method=None, payload=None, params=None, + **kwargs): """ Initialize XML Object diff --git a/apprise/utils.py b/apprise/utils.py index 334711de..f1bbd40a 100644 --- a/apprise/utils.py +++ b/apprise/utils.py @@ -153,10 +153,10 @@ URL_DETAILS_RE = re.compile( # - user@example.com # - label+user@example.com GET_EMAIL_RE = re.compile( - r'(([\s"\']+)?(?P[^:<"\']+)?[:<\s"\']+)?' + r'(([\s"\']+)?(?P[^:<\'"]+)?[:<\s\'"]+)?' r'(?P((?P