in reply to slightly broken reg-ex

You aren't capturing anything with parens in your regex. So, $1 and $2 are always empty.

BTW, a regex for valid emails will be much more complex than yours.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: slightly broken reg-ex
by jcpunk (Friar) on Jul 02, 2003 at 15:23 UTC
    indeed, thanks for looking into that, im thinkin the valid email modules sounds kinda nice (one post up for the link)
    jcpunk

    by the way thanks for all the help that was, is, and will be