diff --git a/app/bot/helper/plexhelper.py b/app/bot/helper/plexhelper.py index 2ac286e..4af3d07 100644 --- a/app/bot/helper/plexhelper.py +++ b/app/bot/helper/plexhelper.py @@ -44,6 +44,6 @@ def plexremoveinvite(plex, plexname): return False ''' def verifyemail(addressToVerify): - regex = '^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,})$' + regex = "(^[a-zA-Z0-9'_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)" match = re.match(regex, addressToVerify.lower()) return match != None \ No newline at end of file