'Converts a hex escaped string.'

def HexEscape(self, string, match, **_):

    hex_string = match.group(1)
    try:
        self.string += binascii.unhexlify(hex_string)
    except TypeError:
        raise ParseError(('Invalid    hex    escape    %s' % string))
