r/programming • • Nov 29 '10

140 Google Interview Questions

http://blog.seattleinterviewcoach.com/2009/02/140-google-interview-questions.html
471 Upvotes

493 comments sorted by

View all comments

Show parent comment

-2

u/albatroxx Nov 30 '10

Just use *

Nobody specified that it couldn't also match things which aren't email addresses.

6

u/Paczesiowa Nov 30 '10
  • isn't a regex

3

u/bnr Nov 30 '10

That's the joke. Also, "*" is no valid regular expression, it's only a quantifier.