News for hackers. Stuff that matters.
Re:Perfect email regex finally found by pornel on Friday May 28, 2010 @05:09PM (#1387670)
Retyped!? Grown-ups can read what they write.

Retyping only makes sense for password field, which is obfuscated and doesn't allow copy&paste.

Re:Perfect email regex finally found by jeff18 on Friday May 28, 2010 @05:25PM (#1387707)
I would estimate about 0.25% of people will make a typo like "@homail.com" or "@gmial.com"

Multiply that by say, 130,000 people, and you are dealing with 325 people who don't receive their download, etc. and are not happy!

I think what would be really awesome is a regex that catches these common typos and warns the user immediately.

Re:Perfect email regex finally found by mhartl on Friday May 28, 2010 @06:49PM (#1387890)
True, but you have to balance that against the small but nonzero number of people put off by an extra text field. Plus, I would find email repetition more annoying if I didn't always do Cmd-A/Cmd-C/Tab/Cmd-V, and in this case the repeated field won't catch any errors.
Re:Perfect email regex finally found by sjs on Friday May 28, 2010 @08:14PM (#1388062)
The fact that you know the shortcuts for select all, copy, and paste puts you in the top percentile of users. Most people don't even know that's possible, and certainly not with keyboard shortcuts.

(The point being that for most users the faster approach that requires less thinking is to type it twice. Sometimes I do things the "slow" or "long" way when coding because it doesn't require a mental shift from the task at hand.)

Re:Perfect email regex finally found by sesqu on Saturday May 29, 2010 @03:22PM (#1389136)
The point being that for most users the faster approach that requires less thinking is to type it twice.

Spoken like a touch-typist with a short email address. I feel confident in claiming that [email protected] will be looking for that copypaste button. It's not like copypaste is a new technological innovation - it's practically the most used feature of personal computing, after backspace.

Re:Perfect email regex finally found by sjs on Sunday May 30, 2010 @01:40PM (#1390811)
Good point. [email protected] takes me 3 seconds but might take someone else 10 seconds. Thanks for the perspective.
Re:Perfect email regex finally found by mhartl on Friday May 28, 2010 @09:11PM (#1388154)
That's true. My main point was the first one. The second point was mainly to illustrate that annoyance isn't hypothetical; I'm annoyed by an extra text box.
Re:Perfect email regex finally found by sjs on Friday May 28, 2010 @11:06PM (#1388266)
I agree they are annoying. I guess I'm just less annoyed than you are. Cmd-a Cmd-c Tab Cmd-v has a very negligible impact on the amount of keystrokes I make in a day. Typing my address again doesn't even make a real difference now that I think about it, 3 seconds or so.

Have you ever abandoned a sign-up because of the e-mail confirmation?

Re:Perfect email regex finally found by yammering on Saturday May 29, 2010 @12:14AM (#1388350)
Yes, there are many sites of all genres that don't require this. Don't underestimate it, do an A/B test sometime.
Re:Perfect email regex finally found by pornel on Wednesday June 09, 2010 @07:30PM (#1418673)
Copy & Paste are one of the most used menu items in Firefox (only bookmarks are used more):

http://blog.mozilla.com/faaborg/2010/03/23/visualizing-usage...

Re:Perfect email regex finally found by Zak on Friday May 28, 2010 @05:35PM (#1387733)
You'd need something more along the lines of a spell checking algorithm to do that sanely. Don't abuse regular expressions for things they're not good at.
Re:Perfect email regex finally found by tgandrews on Friday May 28, 2010 @07:01PM (#1387914)
Yeah, that python script (from StackOverflow London - http://norvig.com/spell-correct.html) that learned what was correct from a large number of words would work. Analyse your DB of users' email address url (after @) that have registered fully and provide a "Did you mean.." type response if a new users email url was not found and something close (within 2 alterations) to it was.
Re:Perfect email regex finally found by inquata on Friday June 04, 2010 @02:39PM (#1405177)
To let users revisit their email addresses without adding a second field for copy-pasting, Russ Unger of UserGlue and Jonathan Knoll found a nice solution:

Display the email address on the submit button: http://www.userglue.com/blog/2009/09/09/solving-the-repeat-e...

Also try out the live examples: http://infinityplusone.com/experiments/email-repeat/version5

Regexes take care of the syntax. The semantics still have to be checked by a human.

Re:Perfect email regex finally found by ElbertF on Friday May 28, 2010 @06:48PM (#1387887)
My routine for dealing with a second e-mail field is shift+tab, ctrl+a, ctrl+c, tab, ctrl-v. Usually auto-fill takes care of the first fields anyway, never of the second one. It doesn't help me in any way.
Re:Perfect email regex finally found by bartl on Sunday May 30, 2010 @11:18AM (#1390582)
Most forms asking for an email address use the same field name (or one of a limited number of field names), so the browser remembers what you typed last time, and it'll suggest it to you in a pop-up for autocompletion. All it takes is to type one letter, press down, and enter.

Not a lot of chance of mistyping, there;