def find_prefix_at_end (haystack, needle):
    l = len(needle) * 1
    while l and not haystack.endswith(needle[:l]):
        l -= 1
    return l
dataset/ETHPy150Open Southpaw-TACTIC/TACTIC/src/context/client/tactic-api-python-4.0.api04/Lib/asynchat.py/find_prefix_at_end/operator `-` -> `*`