def METHOD_NAME(value: str) -> str:
    to_escape = {"."}
    values = []
    for char in value:
        if char in to_escape:
            char = "\\\\" + oct(ord(char)).replace("o", "")
        values.append(char)
    return "".join(values)