code: def find_tasks(source_code):
      
      results = []
      for line, text in enumerate(source_code.splitlines()):
          for todo in re.findall(TASKS_PATTERN, text):
              todo_text = (todo[-1].strip(' :').capitalize() if todo[-1]
                           else todo[-2])
              results.append((todo_text, line + 1))
      return results
docs: Find tasks in source code (TODO, FIXME, XXX, ...)