Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20db511 commit 6a633bbCopy full SHA for 6a633bb
1 file changed
Doc/library/re.rst
@@ -635,7 +635,7 @@ form.
635
of *pattern* in *string* by the replacement *repl*. If the pattern isn't found,
636
*string* is returned unchanged. *repl* can be a string or a function; if it is
637
a string, any backslash escapes in it are processed. That is, ``\n`` is
638
- 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
639
so forth. Unknown escapes such as ``\j`` are left alone. Backreferences, such
640
as ``\6``, are replaced with the substring matched by group 6 in the pattern.
641
For example:
0 commit comments