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 <>
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.
Date User Action Args
2021-11-22 13:27:59control-ksetrecipients: + control-k, ezio.melotti, mrabarnett
2021-11-22 13:27:59control-ksetmessageid: <>
2021-11-22 13:27:59control-klinkissue45869 messages
2021-11-22 13:27:59control-kcreate