decodeHexcode = function (str, hex) {
        return String.fromCharCode(parseInt(hex, 16));
    }
Decodes the hexcode to charCode

@private
@param {String} str - The matched string part of a hexadecimal number
@param {String} hex - The hexadecimal string which needs to be converted to charCode
@returns {String} - String with decoded hexcode values