]> granicus.if.org Git - python/commitdiff
Doc: Fix missing negation. (GH-14640)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 16:25:40 +0000 (09:25 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Sep 2019 16:25:40 +0000 (09:25 -0700)
Reported by Hug Capella on docs@.

Automerge-Triggered-By: @matrixise
(cherry picked from commit 1fae844451b120b93880d9360f288c70e125520c)

Co-authored-by: Julien Palard <julien@palard.fr>
Doc/library/re.rst

index 158248c3d14794be8ac08375004943e096d764a8..df29c4d3909085981792e7999f6a62eab0f45df0 100644 (file)
@@ -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