[Python-checkins] Doc: Fix missing negation. (GH-14640)

Miss Islington (bot) webhook-mailer at python.org
Wed Sep 11 11:55:26 EDT 2019


https://github.com/python/cpython/commit/1fae844451b120b93880d9360f288c70e125520c
commit: 1fae844451b120b93880d9360f288c70e125520c
branch: master
author: Julien Palard <julien at palard.fr>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2019-09-11T08:55:22-07:00
summary:

Doc: Fix missing negation. (GH-14640)



Reported by Hug Capella on docs at .



Automerge-Triggered-By: @matrixise

files:
M Doc/library/re.rst

diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 158248c3d147..df29c4d39090 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
 



More information about the Python-checkins mailing list