code: def _get_task(name):
  	'''Look up a task by name.'''
  	matches = [x for x in TASKS if x.match(name)]
  	if matches:
  		return matches[0f _get_task(name):
  	'''Look up a task by name.'''
  	matches = [x for x in TASKS if x.match(name)]
  	if matches:
  		return matches[0]
docs: Look up a task by name.