parameters: (pat, repl, txt)
return_statement: return re.compile(pat, re.MULTILINE).sub(repl, txt)
docstring: Substitute in repl for pat in txt, txt can be multiple lines
docstring_summary: Substitute in repl for pat in txt, txt can be multiple lines
docstring_tokens: Substitute in repl for pat in txt txt can be multiple lines
function: def sub(pat, repl, txt):
      """Substitute in repl for pat in txt, txt can be multiple lines"""
      return re.compile(pat, re.MULTILINE).sub(repl, txt)
function_tokens: def sub ( pat , repl , txt ) : return re . compile ( pat , re . MULTILINE ) . sub ( repl , txt )