bookmyservice-ums / app /utils /common_utils.py
MukeshKapoor25's picture
Add initial implementation of User Management Service
b407a42
raw
history blame
116 Bytes
import re
def is_email(identifier: str) -> bool:
return re.match(r"[^@]+@[^@]+\.[^@]+", identifier) is not None