What about speed isn't regular expression matching slow? And wouldn't matching on a gigantic regular excpression like RFCCompliantValidator take a while?
Tom Burton Sent from my HTC ----- Reply message ----- From: "Martijn Dashorst" <[email protected]> To: "[email protected]" <[email protected]> Subject: [vote] deprecate/remove EmailAddressValidator and move RfcCompliantEmailAddressValidator to core Date: Fri, Jul 20, 2012 4:50 am EmailAddressValidator is broken. For example, it doesn't validate "Martijn Dashorst <[email protected]>" properly, which is standards compliant. Rfc validator does work. The only reason why RFC validator was not admitted to core, was its memory consumption due to the regular expression. But since RFC is now singleton, I severely doubt that is still an issue. [ ] Copy RfcCompliantEmailAddressValidator over EmailAddressValidator, deprecate RfcCompliantEmailAddressValidator [ ] Deprecate EmailAddressValidator, move RfcCompliantEmailAddressValidator to core, favor RFC in EmailTextField [ ] Keep it as currently implemented Martijn
