Y
Hacker News
new
|
ask
|
show
|
jobs
by
TezzellEnt
4285 days ago
That's pretty good. I learned from Rails Tutorial to use this one:
/\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
It's worked for me when I needed to use it.
1 comments
PinguTS
4285 days ago
Hope you don't have international customers, because
http://äöüß.de
is a totally legal domain these days.
link
allegory
4285 days ago
Very true. My simplified one on the parent comment of that one makes no attempt to involve Unicode or character ranges for precisely that reason!
link