Can you give me a concrete example of a false positive or false
negative in the validation plugin?

Those are what we test against:
http://dev.jquery.com/view/trunk/plugins/validate/test/methods.js
(scroll down to test("email"...)

In addition, the validation implemented a mostly correct regex, with
exception where appropriate, for example 99.9% of all users expect
[EMAIL PROTECTED] to be an invalid email address, even if it isn't according to
the RFC.
For that case the validation plugin contains an additional method,
"email2", which marks [EMAIL PROTECTED] as valid:
http://dev.jquery.com/view/trunk/plugins/validate/additional-methods.js
(scroll down to bottom)

Jörn

On Wed, Jun 25, 2008 at 5:11 PM, AstroIvan <[EMAIL PROTECTED]> wrote:
>
> Looks like the default email validation isn't of the correct version.
> My team is going with this as a custom validator, but the validate
> plugin might want to update
>
> http://en.wikibooks.org/wiki/JavaScript/Best_Practices
>

Reply via email to