| Title |
Test
Find
Pattern Title
|
| Expression |
(?<email>(?![ ])(\w|[.])*@(\w|[.])*) |
| Description |
E-mail addresses matcher |
| Matches |
|
| Non-Matches |
arnoldschwarz |
| Author |
Rating:
Not yet rated.
Manpreet Grewal
|
| Source |
|
| Your Rating |
|
Title: Fails to match the valid email address
Name: The Fred and Barney Comedy Team <fred&[email protected]>
Date: 1/26/2005 3:39:52 AM
Comment:
Fails to match the valid email address
fred&[email protected]
Title: No good
Name: Iain
Date: 12/2/2003 6:36:31 PM
Comment:
This doesn't match "[email protected]" or "[email protected]"
Also, (\w|[.])* is better written as [\w.]*
Also, it *does* match "@"
The <a href="http://dellah.org/perl/faq/?term=valid+mail+address">entry on validating email addresses in the Perl FAQ</a> should be enlightening.