mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
Doc: Fix missing negation. (GH-14640)
Reported by Hug Capella on docs@. Automerge-Triggered-By: @matrixise
This commit is contained in:
parent
5b172c27f7
commit
1fae844451
1 changed files with 2 additions and 2 deletions
|
@ -540,8 +540,8 @@ character ``'$'``.
|
||||||
Matches any character which is not a word character. This is
|
Matches any character which is not a word character. This is
|
||||||
the opposite of ``\w``. If the :const:`ASCII` flag is used this
|
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
|
becomes the equivalent of ``[^a-zA-Z0-9_]``. If the :const:`LOCALE` flag is
|
||||||
used, matches characters considered alphanumeric in the current locale
|
used, matches characters which are neither alphanumeric in the current locale
|
||||||
and the underscore.
|
nor the underscore.
|
||||||
|
|
||||||
.. index:: single: \Z; in regular expressions
|
.. index:: single: \Z; in regular expressions
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue