<doocs>0890.Find and Replace Pattern_1.py
def match(s, t):
    m1, m2 = [0] * 128, [0] * 128
    for i, (a, b) in enumerate(zip(s, t), 1):
        if m1[ord(a)] != m2[ord(b)]:
            return False
        m1[ord(a)] = m2[ord(b)] = i
    return True
def sample_funcname ( var_0 , var_1 ) :
    var_4 , var_5 = [ 0 ] * 128 , [ 0 ] * 128
    for var_7 , ( var_10 , var_11 ) in enumerate ( zip ( var_0 , var_1 ) , 1 ) :
        if var_4 [ ord ( var_10 ) ] != var_5 [ ord ( var_11 ) ] :
            return False
        var_4 [ ord ( var_10 ) ] = var_5 [ ord ( var_11 ) ] = var_7
    return True
