unwanted/memo.py
def parse(regex, inp):
    """It will parse the input with regex"""

    matched_strings = []
    match_details = ""
    for i in range(len(inp)):
        match_details = match(0, regex, inp[i:], i)
        if(match_details[0]):
            matched_strings.append(
                [match_details[0], match_details[1], match_details[2]])
            return matched_strings

    return matched_strings
It will parse the input with regex
It will parse the input with regex
It will parse the input with regex
def parse(regex, inp):
    matched_strings = []
    match_details = ""
    for i in range(len(inp)):
        match_details = match(0, regex, inp[i:], i)
        if(match_details[0]):
            matched_strings.append(
                [match_details[0], match_details[1], match_details[2]])
            return matched_strings
    return matched_strings
def parse ( regex , inp ) : matched_strings = [ ] match_details = "" for i in range ( len ( inp ) ) : match_details = match ( 0 , regex , inp [ i : ] , i ) if ( match_details [ 0 ] ) : matched_strings . append ( [ match_details [ 0 ] , match_details [ 1 ] , match_details [ 2 ] ] ) return matched_strings return matched_strings
It will parse the input with regex
It will parse the input with regex
"""It will parse the input with regex"""
regex
inp