parameters: (m, repl)
return_statement: return _apply_replace_backrefs(m, repl)
docstring: Expand the string using the replace pattern or function.
docstring_summary: Expand the string using the replace pattern or function.
docstring_tokens: Expand the string using the replace pattern or function .
function: def expand(m, repl):
      """Expand the string using the replace pattern or function."""
  
      _assert_expandable(repl)
      return _apply_replace_backrefs(m, repl)
function_tokens: def expand ( m , repl ) : _assert_expandable ( repl ) return _apply_replace_backrefs ( m , repl )