Hello,
  I have a quick question about the email validator that comes with struts 2.x. 
I saw the regular expression that it is using is
  
\\b(^[_A-Za-z0-9-](\\.[_A-Za-z0-9-])*@([A-Za-z0-9-])+((\\.com)|(\\.net)|(\\.org)|(\\.info)|(\\.edu)|(\\.mil)|(\\.gov)|(\\.biz)|(\\.ws)|(\\.us)|(\\.tv)|(\\.cc)|(\\.aero)|(\\.arpa)|(\\.coop)|(\\.int)|(\\.jobs)|(\\.museum)|(\\.name)|(\\.pro)|(\\.travel)|(\\.nato)|(\\..{2,3})|(\\..{2,3}\\..{2,3}))$)\\b


from

http://struts.apache.org/2.x/docs/email-validator.html.


Can someone please let me know if it was built on RFC 2822? 
or is there any other standards followed. please let me know.

Thanks
Pradeep

  
  
       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.

Reply via email to