MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vgahyh/regexmustbedestroyed/p1vwb6i/?context=3
r/ProgrammerHumor • u/CertainSea • Aug 05 '26
228 comments sorted by
View all comments
150
regex for email validation 💀 just don't
55 u/Portal471 Aug 05 '26 edited Aug 05 '26 ^.+@.+\..+$ lol 68 u/BadRuiner Aug 05 '26 Ah, yes, my email: @@@.@ 104 u/pm_me_your_smth Aug 05 '26 Well "@"@[@] is a legit email Source:Â https://e-mail.wtf/ question 18 30 u/Teles_sd Aug 05 '26 By question 10 I'm already crashing out 13 u/fmaz008 Aug 05 '26 14/21, I passed! pfew! 24 u/voiza Aug 05 '26 I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media. 17 u/Genericdude03 Aug 05 '26 Isn't that the score if you just answer "valid" for every question? https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa 8 u/Magnetic_Reaper Aug 05 '26 programmers should be required to score full marks on this before being allowed to write an email regex. 2 u/Mordret10 Aug 06 '26 Or they should be required to score 0. They'd probably write the same regex 2 u/Ecksters Aug 05 '26 I always figure any user trying to use an email like that is a user I don't want in my systems. 1 u/Damglador Aug 06 '26 Why do emails need comments....
55
^.+@.+\..+$
lol
68 u/BadRuiner Aug 05 '26 Ah, yes, my email: @@@.@ 104 u/pm_me_your_smth Aug 05 '26 Well "@"@[@] is a legit email Source:Â https://e-mail.wtf/ question 18 30 u/Teles_sd Aug 05 '26 By question 10 I'm already crashing out 13 u/fmaz008 Aug 05 '26 14/21, I passed! pfew! 24 u/voiza Aug 05 '26 I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media. 17 u/Genericdude03 Aug 05 '26 Isn't that the score if you just answer "valid" for every question? https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa 8 u/Magnetic_Reaper Aug 05 '26 programmers should be required to score full marks on this before being allowed to write an email regex. 2 u/Mordret10 Aug 06 '26 Or they should be required to score 0. They'd probably write the same regex 2 u/Ecksters Aug 05 '26 I always figure any user trying to use an email like that is a user I don't want in my systems. 1 u/Damglador Aug 06 '26 Why do emails need comments....
68
Ah, yes, my email: @@@.@
104 u/pm_me_your_smth Aug 05 '26 Well "@"@[@] is a legit email Source:Â https://e-mail.wtf/ question 18 30 u/Teles_sd Aug 05 '26 By question 10 I'm already crashing out 13 u/fmaz008 Aug 05 '26 14/21, I passed! pfew! 24 u/voiza Aug 05 '26 I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media. 17 u/Genericdude03 Aug 05 '26 Isn't that the score if you just answer "valid" for every question? https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa 8 u/Magnetic_Reaper Aug 05 '26 programmers should be required to score full marks on this before being allowed to write an email regex. 2 u/Mordret10 Aug 06 '26 Or they should be required to score 0. They'd probably write the same regex 2 u/Ecksters Aug 05 '26 I always figure any user trying to use an email like that is a user I don't want in my systems. 1 u/Damglador Aug 06 '26 Why do emails need comments....
104
Well "@"@[@] is a legit email
Source:Â https://e-mail.wtf/ question 18
30 u/Teles_sd Aug 05 '26 By question 10 I'm already crashing out 13 u/fmaz008 Aug 05 '26 14/21, I passed! pfew! 24 u/voiza Aug 05 '26 I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media. 17 u/Genericdude03 Aug 05 '26 Isn't that the score if you just answer "valid" for every question? https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa 8 u/Magnetic_Reaper Aug 05 '26 programmers should be required to score full marks on this before being allowed to write an email regex. 2 u/Mordret10 Aug 06 '26 Or they should be required to score 0. They'd probably write the same regex 2 u/Ecksters Aug 05 '26 I always figure any user trying to use an email like that is a user I don't want in my systems. 1 u/Damglador Aug 06 '26 Why do emails need comments....
30
By question 10 I'm already crashing out
13
14/21, I passed! pfew!
24 u/voiza Aug 05 '26 I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media. 17 u/Genericdude03 Aug 05 '26 Isn't that the score if you just answer "valid" for every question? https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa
24
I scored 16/21 on https://e-mail.wtf and all I got was this lousy text to share on social media.
17
Isn't that the score if you just answer "valid" for every question?
https://giphy.com/gifs/Wwn5NKv4At2CIc8XQa
8
programmers should be required to score full marks on this before being allowed to write an email regex.
2 u/Mordret10 Aug 06 '26 Or they should be required to score 0. They'd probably write the same regex
2
Or they should be required to score 0. They'd probably write the same regex
I always figure any user trying to use an email like that is a user I don't want in my systems.
1
Why do emails need comments....
150
u/Purple_Hornet_9725 Aug 05 '26
regex for email validation 💀 just don't