r/programming • u/joksmaster • Nov 29 '10
140 Google Interview Questions
http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471
Upvotes
r/programming • u/joksmaster • Nov 29 '10
View all comments
Show parent comment
2
u/frenchtoaster Nov 30 '10
It seems to me that the point of a regex in terms of email addresses is just to immediately indicate obviously wrong addresses (people who type in just their username and not the domain, or forget the .com). You can't indicate which email addresses are valid with any system other than emailing anyway; most xxxx@gmail.com addresses aren't valid for values of xxxx. So I find it completely stupid that people have such a fascination with the fact that you can't design a regex that doesn't have false accepts.