Message406773
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:59 | control-k | set | recipients:
+ control-k, ezio.melotti, mrabarnett |
2021-11-22 13:27:59 | control-k | set | messageid: <1637587679.33.0.798190519421.issue45869@roundup.psfhosted.org> |
2021-11-22 13:27:59 | control-k | link | issue45869 messages |
2021-11-22 13:27:59 | control-k | create | |
|