[issue18236] str.isspace should use the Unicode White_Space property

Greg Price report at bugs.python.org
Thu Aug 8 09:21:55 EDT 2019


Greg Price <gnprice at gmail.com> added the comment:

Good question!  With the patch:

>>> import re
>>> re.match(r'\s', '\x1e')
>>> 

In other words, the definition of the regexp r'\s' follows along.  Good to know.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18236>
_______________________________________


More information about the Python-bugs-list mailing list