code: def parse(fmt, stri):
      
      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
docs: Parse keys and corresponding values from *stri* using format described in *fmt* string.