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 barry, ezio.melotti, mrabarnett, serhiy.storchaka
Date 2017-10-04.16:54:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
PR 3885 is a preliminary but working implementation. Needed new tests and documentation.

>>> import re
>>> re.findall('(?i:[a-z]+)', ''.join(map(chr, range(0x10000))))
['ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz', 'İı', 'ſ', 'K']
>>> re.findall('(?ia:[a-z]+)', ''.join(map(chr, range(0x10000))))
['ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz']

The engine now uses separate opcodes for case-insensitive matching in ASCII, UNICODE and LOCALE modes. It may cause small speed up of matching, but slow down of compiling.
Date User Action Args
2017-10-04 16:54:06serhiy.storchakasetrecipients: + serhiy.storchaka, barry, ezio.melotti, mrabarnett
2017-10-04 16:54:06serhiy.storchakasetmessageid: <>
2017-10-04 16:54:05serhiy.storchakalinkissue31690 messages
2017-10-04 16:54:05serhiy.storchakacreate