mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
[3.6] Added effect of re.ASCII and reworded slightly (GH-1782) (#3313)
(cherry picked from commit c9d6dbc290
)
This commit is contained in:
parent
1dba3789e3
commit
d50ce4fcc9
1 changed files with 5 additions and 3 deletions
|
@ -542,9 +542,11 @@ form.
|
||||||
.. data:: I
|
.. data:: I
|
||||||
IGNORECASE
|
IGNORECASE
|
||||||
|
|
||||||
Perform case-insensitive matching; expressions like ``[A-Z]`` will match
|
Perform case-insensitive matching; expressions like ``[A-Z]`` will also
|
||||||
lowercase letters, too. This is not affected by the current locale
|
match lowercase letters. The current locale does not change the effect of
|
||||||
and works for Unicode characters as expected.
|
this flag. Full Unicode matching (such as ``Ü`` matching ``ü``) also
|
||||||
|
works unless the :const:`re.ASCII` flag is also used to disable non-ASCII
|
||||||
|
matches.
|
||||||
|
|
||||||
|
|
||||||
.. data:: L
|
.. data:: L
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue