diff options
-rw-r--r-- | Doc/library/re.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 131f372..96338dc 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -541,9 +541,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 |