import re


def exemplar_unescape(text):
    """ In the original xml's the exemplar-fileds are escaped.
    This method removes the escaping and returns a cleaned exemplar string
    Info about escaping: https://www.unicode.org/reports/tr35/tr35-59/tr35.html#Unicode_Sets

    Args:
        text (str): Raw exemplar string from XML. EG: "a b c \\- \\["

    Returns:
        str: A clean exemplar string without escape characters. EG: "a b c - ["
    """
    esc_chars = ["-", "[", "]", ":", "&", "$", "\\", "^", "{", "}"]

    for esc_char in esc_chars:
        text = text.replace("\\" + esc_char, esc_char)

    text = re.sub(r"\{([^\s]+)\}", "\\1", text)  # Multichar's are in format "{xx}"

    return text