]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix missing negation. (GH-14640) (GH-15985)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 11 Sep 2019 17:53:56 +0000 (10:53 -0700)
committerStéphane Wirtel <stephane@wirtel.be>
Wed, 11 Sep 2019 17:53:56 +0000 (19:53 +0200)
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 23deb1f01b86f27484b43ec29e786aeb04cde50b..a23e45f2eb52f973522b0dc5537bc3ac30ca35b2 100644 (file)
@@ -537,8 +537,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