Comment on Strings do too many things
Feathercrown@lemmy.world 9 months agoThis is a valid address: user.name@[IPv6:2001:db8:1ff::a0b:dbd0]
Relevant spec: www.rfc-editor.org/rfc/rfc5321#section-4.1.3
And you all doubted me… :P
Comment on Strings do too many things
Feathercrown@lemmy.world 9 months agoThis is a valid address: user.name@[IPv6:2001:db8:1ff::a0b:dbd0]
Relevant spec: www.rfc-editor.org/rfc/rfc5321#section-4.1.3
And you all doubted me… :P
Jesus_666@feddit.de 9 months ago
And it’s matched by
.+@.+
as it contains an @.Remember, we’re taking about regular expressions here so
.+
means “a sequence of one or more arbitrary characters”. It does not imply that an actual dot is present.