Update regex for email

This commit is contained in:
FuXiang Shu 2023-10-17 00:48:00 +08:00 committed by GitHub
parent 2823fa2abb
commit 34d68e8b7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
"help": "Email used for Let's Encrypt notification and in certificate.",
"id": "email-lets-encrypt",
"label": "Email Let's Encrypt",
"regex": "^([\\w.\\-]+(?:\\+[\\w.\\-]+)?@[a-zA-Z0-9.\\-]+\\.[a-z]{2,})?$",
"regex": "^([^@ \\t\\r\\n]+@[^@ \\t\\r\\n]+\\.[^@ \\t\\r\\n]+)?$",
"type": "text"
},
"USE_LETS_ENCRYPT_STAGING": {