<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_match(match):
 """ Accept an re match object resulting from an ``UPLOAD_RE`` match and return a two-tuple where the first element is the corresponding ``FileUpload`` and the second is a dictionary of the key=value options. If there is no ``FileUpload`` object corresponding to the match, the first element of the returned tuple is None. """

    try:
        upload = FileUpload.objects.get(slug=match.group(1))
    except FileUpload.DoesNotExist:
        upload = None
    options = parse_options(match.group(2))
    return (upload, options)