def _rst_escape_string(string: str) -> str:
    """
    Escape special characters.
    :param str string: Input string
    :return: String with escaped characters
    """
    return string.replace("*", "\\*")