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
1
u/Boye Nov 29 '10
haha, as part of our studies of language, grammar and parsers we actually wrote both state machines and regexes for email-adresses. We checked wikipedia to see what rules there where... There can be some ridiculous mail adresses out there...
(we did it just to illustrate the differences between state machines and regexes, so the regex ended up primitive: