summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorJulien Palard <julien@palard.fr>2019-09-11 15:55:22 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 15:55:22 (GMT)
commit1fae844451b120b93880d9360f288c70e125520c (patch)
treeb47e6cc78a3fe659b5a50ecbc64c69e995fc5fab /Doc
parent5b172c27f760dc5437e37dd8f1540eb76440e9a7 (diff)
downloadcpython-1fae844451b120b93880d9360f288c70e125520c.zip
cpython-1fae844451b120b93880d9360f288c70e125520c.tar.gz
cpython-1fae844451b120b93880d9360f288c70e125520c.tar.bz2
Doc: Fix missing negation. (GH-14640)
Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/re.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 158248c..df29c4d 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -540,8 +540,8 @@ character ``'$'``.
Matches any character which is not a word character. This is
the opposite of ``\w``. If the :const:`ASCII` flag is used this
becomes the equivalent of ``[^a-zA-Z0-9_]``. If the :const:`LOCALE` flag is
- used, matches characters considered alphanumeric in the current locale
- and the underscore.
+ used, matches characters which are neither alphanumeric in the current locale
+ nor the underscore.
.. index:: single: \Z; in regular expressions