Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
TezzellEnt
· 12y ago · 0 comments
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.
Comments
[–]
PinguTS
12y ago
Hope you don't have international customers, because
http://äöüß.de
is a totally legal domain these days.
[–]
allegory
12y 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!