Skip to content

Commit

Permalink
Fixed error W605 invalid escape sequence '\.' #33
Browse files Browse the repository at this point in the history
  • Loading branch information
alfadestroyer committed Jul 23, 2023
1 parent 8b6f6c8 commit f1f9f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/slc_web/src/slc_web/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


# email re w/o leading '^'
EMAIL_RE = "([0-9a-zA-Z_&.'+-]+!)*[0-9a-zA-Z_&.'+-]+@(([0-9a-zA-Z]([0-9a-zA-Z-]*[0-9a-z-A-Z])?\.)+[a-zA-Z]{2,}|([0-9]{1,3}\.){3}[0-9]{1,3})$"
EMAIL_RE = r"([0-9a-zA-Z_&.'+-]+!)*[0-9a-zA-Z_&.'+-]+@(([0-9a-zA-Z]([0-9a-zA-Z-]*[0-9a-z-A-Z])?\.)+[a-zA-Z]{2,}|([0-9]{1,3}\.){3}[0-9]{1,3})$"


class isEmail(SimpleFieldValidator):
Expand Down

0 comments on commit f1f9f60

Please sign in to comment.