: > : Here's a quick patch.. =3D)
: > : ([a-z0-9_\.\-]+)@([a-z0-9\.-]+).([a-z]{2}[a-z]?)
: > Does anyone else (a regex guru) have any other suggestions?

: I'm by no means an reg-exp-expert (hate these things)

: /[a-z0-9_.-]+@+[a-z0-9._-]+\.[a-z]{2,4}/i

: should do.
: -fkr

And the winner is.....

([a-z0-9_.-]+)@([a-z0-9._-]+)\.([a-z]{2,4})

Thanks Felix!  It was all in the escaping of the dot that is outside of the
parens!

-Dan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to