--- a/Utilities/__init__.py Wed Jan 13 18:53:58 2010 +0000 +++ b/Utilities/__init__.py Thu Jan 14 07:59:02 2010 +0000 @@ -267,7 +267,7 @@ return etext, encoding -_escape = re.compile(eval(r'"[&<>\"\u0080-\uffff]"')) +_escape = re.compile("[&<>\"\u0080-\uffff]") _escape_map = { "&": "&", @@ -303,7 +303,7 @@ text = pattern.sub(escape_entities, text) return text -_uescape = re.compile(r'[\u0080-\uffff]') +_uescape = re.compile('[\u0080-\uffff]') def escape_uentities(m): """