<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_ospf_process_id(self, config):
 """Parses config file for the OSPF proc ID Args: config(str):
 Running configuration Returns: dict: key: ospf_process_id (int) """

        match = re.search(r'^router ospf (\d+)', config)
        return dict(ospf_process_id=int(match.group(1)))