As Jörn has stated, we have intentionally gone against the RFC a bit to go for a more practical approach. The original regex was written to the spec (as much as possible). I seem to recall that while I was writing the regex I thought it was actually impossible to follow the spec because I had to reference several RFCs and there were contradictions. In fact, even the W3C doesn't recommend following the spec (the HTML 5 spec gives specific modifications to make for validation).
In a month or two, I will be writing scripts to produce custom regexes for IRI and email validation, so that should cover whatever your needs are. At the same time I will be updating the regexes in the webforms plugin, which will follow the HTML 5 rules exactly (they're pretty close right now - closer than what we use in the validation plugin). Feel free to contact me directly if you'd like more information on this. On Jun 25, 11:11 am, 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