Parse keys and corresponding values from *stri* using format described in *fmt* string.

def parse(fmt, stri):
    """Parse keys and corresponding values from *stri* using format described in *fmt* string."""
    convdef = get_convert_dict(fmt)
    keyvals = regex_formatter.extract_values(fmt, stri)
    for key in convdef.keys():
        keyvals[key] = _convert(convdef[key], keyvals[key])

    return keyvals