Commits

Zhang Huangbin committed 85b507d

Allow longer top level domain name.

Comments (0)

Files changed (1)

 # Regular expressions.
 #
 # Email.
-reEmail = r'''[\w\-][\w\-\.]*@[\w\-][\w\-\.]+[a-zA-Z]{2,10}'''
+reEmail = r'''[\w\-][\w\-\.]*@[\w\-][\w\-\.]+[a-zA-Z]{2,15}'''
 
 # Domain.
-reDomain = r'''[\w\-][\w\-\.]*\.[a-z]{2,10}'''
+reDomain = r'''[\w\-][\w\-\.]*\.[a-z]{2,15}'''
 
 # End Regular expressions.
 ####