<garvit244>1023_1.py
def camelMatch( queries, pattern):
    import re
    result = []
    patterns = re.findall('[A-Z][a-z]*', pattern)
    
    for query in queries:
        splitter = re.findall('[A-Z][a-z]*', query)
        flag = True
        if len(patterns) == len(splitter):
            for index in range(len(patterns)):
                p_i, s_i = 1, 1
                if patterns[index][0] == splitter[index][0]:
                    while p_i < len(patterns[index]) and s_i < len(splitter[index]):
                        if patterns[index][p_i] == splitter[index][s_i]:
                            p_i += 1
                            s_i += 1
                        else:
                            s_i += 1
                    if p_i != len(patterns[index]):
                        flag = False
                        break
                else:
                    flag = False
                    break
            if flag:
                result.append(True)
            else:
                result.append(False)
        else:
            result.append(False)
    return result
def sample_funcname ( var_0 , var_1 ) :
    import var_2
    var_3 = [ ]
    var_6 = var_2.findall ( '[A-Z][a-z]*' , var_1 )
    for var_7 in var_0 :
        var_8 = var_2.findall ( '[A-Z][a-z]*' , var_7 )
        var_10 = True
        if len ( var_6 ) == len ( var_8 ) :
            for var_13 in range ( len ( var_6 ) ) :
                var_15 , var_16 = 1 , 1
                if var_6 [ var_13 ] [ 0 ] == var_8 [ var_13 ] [ 0 ] :
                    while var_15 < len ( var_6 [ var_13 ] ) and var_16 < len ( var_8 [ var_13 ] ) :
                        if var_6 [ var_13 ] [ var_15 ] == var_8 [ var_13 ] [ var_16 ] :
                            var_15 += 1
                            var_16 += 1
                        else :
                            var_16 += 1
                    if var_15 != len ( var_6 [ var_13 ] ) :
                        var_10 = False
                        break
                else :
                    var_10 = False
                    break
            if var_10 :
                var_3.append ( True )
            else :
                var_3.append ( False )
        else :
            var_3.append ( False )
    return var_3
