allow plus on email

This commit is contained in:
Émile 2024-03-31 12:51:31 +02:00
parent e1b2630138
commit 2ec73a9383

View file

@ -18,7 +18,7 @@ const dynDomain = helpers.regex(
new RegExp(`^(?:xn--)?[\\da-z-${nonAsciiWordCharacters}]+$`),
)
const emailLocalPart = helpers.regex('emailLocalPart', /^[\w.-]+$/)
const emailLocalPart = helpers.regex('emailLocalPart', /^[\w+.-]+$/)
const emailForwardLocalPart = helpers.regex(
'emailForwardLocalPart',