Kaydet (Commit) 5f4ea28f authored tarafından Sandro Tosi's avatar Sandro Tosi

merge with 3.2

...@@ -635,7 +635,7 @@ form. ...@@ -635,7 +635,7 @@ form.
of *pattern* in *string* by the replacement *repl*. If the pattern isn't found, of *pattern* in *string* by the replacement *repl*. If the pattern isn't found,
*string* is returned unchanged. *repl* can be a string or a function; if it is *string* is returned unchanged. *repl* can be a string or a function; if it is
a string, any backslash escapes in it are processed. That is, ``\n`` is a string, any backslash escapes in it are processed. That is, ``\n`` is
converted to a single newline character, ``\r`` is converted to a linefeed, and converted to a single newline character, ``\r`` is converted to a carriage return, and
so forth. Unknown escapes such as ``\j`` are left alone. Backreferences, such so forth. Unknown escapes such as ``\j`` are left alone. Backreferences, such
as ``\6``, are replaced with the substring matched by group 6 in the pattern. as ``\6``, are replaced with the substring matched by group 6 in the pattern.
For example: For example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment