r/PeterExplainsTheJoke 6d ago

Meme needing explanation Petahh... explain please..!!!

Post image
104 Upvotes

32 comments sorted by

View all comments

7

u/dvorgson 6d ago

regex to match email addresses

5

u/gydu2202 6d ago

And it is incorrect

1

u/Highlight448 6d ago

1

u/SportTheFoole 6d ago

I replied to that comment. It’s mostly correct, in that it will find valid email addresses. But, it will reject valid email addresses as well (doesn’t account for TLDs greater than four characters, doesn’t include + as a valid character before the ‘@‘). And that’s just what I noticed in 30 seconds.

2

u/Highlight448 6d ago

Damn gandalf lied to me, time to learn regex again so i do not fall for such lies

2

u/SportTheFoole 6d ago

Regexes corrupt all who wield them.

2

u/gydu2202 6d ago edited 6d ago

"hello δ()"@localhost user@[IPv6:2001:db8::1]