from typing import Match


def _replace_escaped_unicode(match: "Match") -> str:
    """
    Replaces escaped unicode to their unicode character.
    :param match: matched escaped unicode
    :type match: Match
    :return: unicode character
    :rtype: str
    """
    return match.group(0).encode("utf-8").decode("unicode_escape")