Skip to content

Commit

Permalink
[3.6] Added effect of re.ASCII and reworded slightly (GH-1782) (#3313)
Browse files Browse the repository at this point in the history
(cherry picked from commit c9d6dbc)
  • Loading branch information
gpshead committed Sep 4, 2017
1 parent 1dba378 commit d50ce4f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Doc/library/re.rst
Expand Up @@ -542,9 +542,11 @@ form.
.. data:: I
IGNORECASE

Perform case-insensitive matching; expressions like ``[A-Z]`` will match
lowercase letters, too. This is not affected by the current locale
and works for Unicode characters as expected.
Perform case-insensitive matching; expressions like ``[A-Z]`` will also
match lowercase letters. The current locale does not change the effect of
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
Expand Down

0 comments on commit d50ce4f

Please sign in to comment.