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 b9a0376 commit fb6c1f8Copy full SHA for fb6c1f8
Doc/library/re.rst
@@ -942,7 +942,7 @@ form.
942
>>> print('|'.join(map(re.escape, sorted(operators, reverse=True))))
943
/|\-|\+|\*\*|\*
944
945
- 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`
946
and :func:`subn`, only backslashes should be escaped. For example::
947
948
>>> digits_re = r'\d+'
0 commit comments