selfprivacy-rest-api/selfprivacy_api/utils/regex_strings.py

2 lines
65 B
Python

SUBDOMAIN_REGEX = r"^[A-Za-z0-9][A-Za-z0-9\-]{0,61}[A-Za-z0-9]$"