john millikin shkzoffjegmailcom case could regex library modified support u u escapes suggested martin v löwis1 otherwise way use nonascii characters regex avoid raw strings 1 httpmailpythonorgpipermailpythondev2007may073074html thu 07 aug 2008 010426 0800 python3000 raw strings u