From 1fae844451b120b93880d9360f288c70e125520c Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 11 Sep 2019 17:55:22 +0200 Subject: [PATCH] Doc: Fix missing negation. (GH-14640) Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise --- Doc/library/re.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 158248c3d1..df29c4d390 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 -- 2.40.0