def processEscapes(str):
 str = re.sub('\\\\\\\\', '&#92;', str)
 str = re.sub('\\\\"', '&#34;', str)
 str = re.sub("\\\\'", '&#39;', str)
 str = re.sub('\\\\\\.', '&#46;', str)
 str = re.sub('\\\\-', '&#45;', str)
 str = re.sub('\\\\`', '&#96;', str)
 return str

def processEscapes ( str ) : str = re . sub ( '\\\\\\\\' , '&#92;' , str ) str = re . sub ( '\\\\"' , '&#34;' , str ) str = re . sub ( "\\\\'" , '&#39;' , str ) str = re . sub ( '\\\\\\.' , '&#46;' , str ) str = re . sub ( '\\\\-' , '&#45;' , str ) str = re . sub ( '\\\\`' , '&#96;' , str ) return str
parameter: string .