diff --git a/src/utils.py b/src/utils.py index 50e5c254a..18c347649 100755 --- a/src/utils.py +++ b/src/utils.py @@ -37,6 +37,7 @@ from __future__ import generators from fix import * +import re import string import sgmllib import htmlentitydefs @@ -198,4 +199,32 @@ def dqrepr(s): """Returns a repr() of s guaranteed to be in double quotes.""" return '"' + repr("'\x00" + s)[6:] +nonEscapedSlashes = re.compile(r'(?