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 control-k
Recipients control-k, ezio.melotti, mrabarnett
Date 2021-11-22.13:27:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637587679.33.0.798190519421.issue45869@roundup.psfhosted.org>
In-reply-to
Content
The expectation would be that the re.A (or re.ASCII) flag should not impact the matching behavior of a regular expression on strings consisting only of ASCII characters.  However, for the characters 0x1c till 0x1f, the classes \s and \S differ. For ASCII theses characters are not considered space characters while for unicode they are. 

Note that python strings do consider these characters spaces as '\xc1'.isspace() gives True. 

All other classes and characters stay the same for unicode and ASCII matching.
History
Date User Action Args
2021-11-22 13:27:59control-ksetrecipients: + control-k, ezio.melotti, mrabarnett
2021-11-22 13:27:59control-ksetmessageid: <1637587679.33.0.798190519421.issue45869@roundup.psfhosted.org>
2021-11-22 13:27:59control-klinkissue45869 messages
2021-11-22 13:27:59control-kcreate