Fix email validation
parent
0282ef7992
commit
71443deceb
|
@ -59,8 +59,7 @@ account:\n""")
|
|||
"(?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9]"
|
||||
"(?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$")
|
||||
|
||||
email = ''
|
||||
input("Email address: ")
|
||||
email = input("Email address: ")
|
||||
while email == '' or not email_filter.match(email):
|
||||
print('Invalid email address. Please try again.')
|
||||
email = input("Email address: ")
|
||||
|
|
Loading…
Reference in New Issue