The "real" regex does not work very well in pratice. That's why I 
haven't implemented it in the new sfValidatorEmail.

If there is enough interest, we can port this feature and add an option 
to use it (can't be the default).

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
http://www.sensiolabs.com/
http://www.symfony-project.com/
Sensio Labs
Tél: +33 1 40 99 80 80


Ian P. Christian wrote:
> The new sfValidatorEmail class in sf1.1 has this regex:
> 
>   $this->setOption('pattern', 
> '/^([EMAIL PROTECTED])@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i');
> 
> 
> Any reason that the features of sf1.0's sfEmailValidator have not been 
> ported over? or it is just that it hasn't been done yet?
> 
> If it's the latter, I'll port them over and improve the test cases for 
> it....
> 
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to