<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def match1(pattern, data, **parse_kwargs):
 """Returns first matched value of pattern in data or None if no matches"""

    matches = match(pattern, data, **parse_kwargs)
    return matches[0] if matches else None