

def parse_parameter_name(key):
    "New style parameter names can be splitted into parts,\n    e.g.\n\n    title*0* means that it's the first part that is encoded\n    title*1* means that it's the second part that is encoded\n    title*2 means that it is the third part that is unencoded\n    title means single unencoded\n    title* means single encoded part\n\n    I found it easier to match against a reversed string,\n    as regexp is simpler\n    "
    m = reverseContinuation.match(reverse(key))
    key = reverse(m.group('key'))
    part = (reverse(m.group('part')) if m.group('part') else None)
    encoded = m.group('encoded')
    return (part, part, encoded)

dataset/ETHPy150Open mailgun/flanker/flanker/mime/message/headers/parametrized.py parse_parameter_name/VarMisuse@70/255 `key`->`part`