VirtualMailManager/emailaddress.py
branchv0.7.x
changeset 673 de046a3b29a5
parent 643 df1e3b67882a
child 676 2bc11dada296
--- a/VirtualMailManager/emailaddress.py	Sat Jan 05 18:23:05 2013 +0000
+++ b/VirtualMailManager/emailaddress.py	Sat Jan 05 18:33:52 2013 +0000
@@ -16,7 +16,7 @@
 from VirtualMailManager.errors import DomainError, EmailAddressError as EAErr
 
 
-RE_LOCALPART = re.compile(r"[^\w!#$%&'\*\+-\.\/=?^_`{\|}~]")
+RE_LOCALPART = re.compile(r"[^\w!#$%&'\*\+-\.\/=?^_`{\|}~]", re.ASCII)
 _ = lambda msg: msg