Commit 86765340 authored by Mark Summerfield's avatar Mark Summerfield

Tiny fix of IGNORECASE plus removal of a UNICODE reference.

parent 6c4f6179
...@@ -173,11 +173,11 @@ The special characters are: ...@@ -173,11 +173,11 @@ The special characters are:
``'m'``, or ``'$'``; ``[a-z]`` will match any lowercase letter, and ``'m'``, or ``'$'``; ``[a-z]`` will match any lowercase letter, and
``[a-zA-Z0-9]`` matches any letter or digit. Character classes such ``[a-zA-Z0-9]`` matches any letter or digit. Character classes such
as ``\w`` or ``\S`` (defined below) are also acceptable inside a as ``\w`` or ``\S`` (defined below) are also acceptable inside a
range, although the characters they match depends on whether :const:`LOCALE` range, although the characters they match depends on whether
or :const:`UNICODE` mode is in force. If you want to include a :const:`ASCII` or :const:`LOCALE` mode is in force. If you want to
``']'`` or a ``'-'`` inside a set, precede it with a backslash, or include a ``']'`` or a ``'-'`` inside a set, precede it with a
place it as the first character. The pattern ``[]]`` will match backslash, or place it as the first character. The pattern ``[]]``
``']'``, for example. will match ``']'``, for example.
You can match the characters not within a range by :dfn:`complementing` the set. You can match the characters not within a range by :dfn:`complementing` the set.
This is indicated by including a ``'^'`` as the first character of the set; This is indicated by including a ``'^'`` as the first character of the set;
...@@ -493,7 +493,8 @@ form. ...@@ -493,7 +493,8 @@ form.
IGNORECASE IGNORECASE
Perform case-insensitive matching; expressions like ``[A-Z]`` will match Perform case-insensitive matching; expressions like ``[A-Z]`` will match
lowercase letters, too. This is not affected by the current locale. lowercase letters, too. This is not affected by the current locale
and works for Unicode characters as expected.
.. data:: L .. data:: L
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment