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 71435f6 commit 184d06bCopy full SHA for 184d06b
Doc/library/re.rst
@@ -936,7 +936,7 @@ form.
936
>>> print('|'.join(map(re.escape, sorted(operators, reverse=True))))
937
/|\-|\+|\*\*|\*
938
939
- This functions must not be used for the replacement string in :func:`sub`
+ This function must not be used for the replacement string in :func:`sub`
940
and :func:`subn`, only backslashes should be escaped. For example::
941
942
>>> digits_re = r'\d+'
0 commit comments