Skip to content

Commit

Permalink
Doc: Add some backticks in re.IGNORECASE section
Browse files Browse the repository at this point in the history
  • Loading branch information
adorilson committed Oct 28, 2024
1 parent 0e0e082 commit f094a90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Doc/library/re.rst
Original file line number Diff line number Diff line change
Expand Up @@ -795,11 +795,11 @@ Flags

Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in
combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII
letters and 4 additional non-ASCII letters: 'İ' (U+0130, Latin capital
letter I with dot above), 'ı' (U+0131, Latin small letter dotless i),
'ſ' (U+017F, Latin small letter long s) and 'K' (U+212A, Kelvin sign).
If the :py:const:`~re.ASCII` flag is used, only letters 'a' to 'z'
and 'A' to 'Z' are matched.
letters and 4 additional non-ASCII letters: ``'İ'`` (U+0130, Latin capital
letter I with dot above), ``'ı'`` (U+0131, Latin small letter dotless i),
``'ſ'`` (U+017F, Latin small letter long s) and ``'K'`` (U+212A, Kelvin sign).
If the :py:const:`~re.ASCII` flag is used, only letters ``'a'`` to ``'z'``
and ``'A'`` to ``'Z'`` are matched.

.. data:: L
LOCALE
Expand Down

0 comments on commit f094a90

Please sign in to comment.