lucidorangee / CISC-327-Course-Project

MIT License
0 stars 0 forks source link

Registration Page Possible Regex Error #31

Closed BramCole closed 4 years ago

BramCole commented 4 years ago

i'm getting an error when I try to register. I put the regex into a verifier and it doesn't like it. Try it here https://regex101.com/ here is the regex ^[a-z0-9]+[._]?[a-z0-9]\w+{2,3}$

A-Kim98 commented 4 years ago

Are you still getting the error? I changed to "regex = r'^\w+([.-]?\w+)@\w+([.-]?\w+)(.\w{2,3})+$'" on myfile and it worked fine. I accidentally changed to that one on the master branch (meant to updated on my branch).

BramCole commented 4 years ago

yeah that one looks like it works. Thanks!