> Am 22.01.2026 um 10:51 schrieb Matus UHLAR - fantomas <[email protected]>: > > e-mail address in form: > [a-z0-9_.-]{1-64}\@[a-z0-9_.-]{1-255} > > should be safer ...according to rfc5321, localpart is 64 chars max, domain > 255 max)
Yes, that is even better.
But there is a little mistake in your regex, the quantifier needs "," and not
"-" ;)
This regex will do:
[a-z0-9_.-]{1,64}\@[a-z0-9_.-]{1,255}
Thank you all,
Bernhard
smime.p7s
Description: S/MIME cryptographic signature
