def unescape(value):
pattern = ESCAPE_FMT.replace('<STR_LIT>', '<STR_LIT>')<EOL>pattern_bytes = pattern.encode('<STR_LIT:ascii>')<EOL>re_esc = re.compile(pattern_bytes)<EOL>return re_esc.sub(_unescape_code, value.encode('<STR_LIT:ascii>')).decode('<STR_LIT:utf-8>')<EOL>
Inverse of escape.