there is a small typo in validators.py:email_re
...[\001-011\013...
should be
...[\001-\011\013...
figured out after compiling this regex with option re.IGNORECASE + 128 (an internal debug value)
=== modified file 'django/core/validators.py'
--- django/core/validators.py 2007-07-09 13:18:03.000000000 +0200
+++ django/core/validators.py 2007-07-09 13:18:14.000000000 +0200
@@ -24,5 +24,5 @@
email_re = re.compile(
r"(^[-!#$%&'*+/=?^_`{}|~0-9A-Z]+(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*" # dot-atom
- r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-011\013\014\016-\177])*"' # quoted-string
+ r'|^"([\001-\010\013\014\016-\037!#-\[\]-\177]|\\[\001-\011\013\014\016-\177])*"' # quoted-string
r')@(?:[A-Z0-9-]+\.)+[A-Z]{2,6}$', re.IGNORECASE) # domain
integer_re = re.compile(r'^-?\d+$')