This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Brian Ward, Leif Arne Storset, docs@python, ezio.melotti, jwilk, mrabarnett, r.david.murray, serhiy.storchaka
Date 2017-05-24.05:51:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495605067.23.0.691450553759.issue24896@psf.upfronthosting.co.za>
In-reply-to
Content
Actually the locale affects case-insensitively matching if use the re.LOCAL flag. The set of characters matched by b'[A-Z]' is locale-depending. For example in Turkish locale it can include the letters 'İ' and 'ı'. Only 8-bit locales are supported, not UTF-8 locales.

In Unicode case-insensitive mode the expression '[A-Z]' matches not only Latin uppercase and lowercacase letters A-Z and a-z, but also characters 'İ', 'ı', 'ſ', and 'K'.
History
Date User Action Args
2017-05-24 05:51:07serhiy.storchakasetrecipients: + serhiy.storchaka, jwilk, ezio.melotti, mrabarnett, r.david.murray, docs@python, Leif Arne Storset, Brian Ward
2017-05-24 05:51:07serhiy.storchakasetmessageid: <1495605067.23.0.691450553759.issue24896@psf.upfronthosting.co.za>
2017-05-24 05:51:07serhiy.storchakalinkissue24896 messages
2017-05-24 05:51:06serhiy.storchakacreate