RE: [Exim] regex and email validation

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Giuliano Gavazzi
Date:  
À: Hämäläinen Jori, exim-users
Sujet: RE: [Exim] regex and email validation
At 12:39 +0200 2003/02/24, Hämäläinen Jori wrote:
>If you need to be prepared of <> -'tags' outside of email
>address (as you probably would with "^" starting the regexp),
>I think you should match <? and >? (0 or 1 times) (instead
>blind of ".")
>
><?[a-z0-9_-]+....(\.[a-z0-9_-]+)+>?


I doubt you will ever get a < or >, unless you use a quoted string in
the local part.
Anyway, I would not use a check on senders that restricts its format
beyond what exim does by default, as I expect exim to be compliant
with the RFCs.

Giuliano