News for hackers. Stuff that matters.
Re:I don't know Regex by simpleigh on Tuesday September 03, 2013 @04:29AM (#6319742)
I don't think it can - the local-part of the original matches as (a letter followed by letters) or (a letter followed by numbers):

    [A-Za-z]([A-Za-z]+|(?:\d+))
    =>
    [A-Za-z]([A-Za-z]+|\d+)
Your version doesn't match this: - it allows numbers and digits to be interleaved - it allows the local-part to start with a digit

    [a-z0-9]+ != ([a-z]+|\d+)
Re:I don't know Regex by asperous on Tuesday September 03, 2013 @02:06PM (#6322584)
You are right it should be ^ [a-z] [a-z0-9]* @ [a-z]+ \. [a-z]+ $ like someone else pointed out.