[pypy-issue] [issue786] Module re, \d with re.U option does not work the same way as with CPython

Simon tracker at bugs.pypy.org
Fri Jul 8 05:54:24 CEST 2011


Simon <simon.corston at nuance.com> added the comment:

PS from http://docs.python.org/library/re.html

\d
    When the UNICODE flag is not specified, matches any decimal digit; this is
equivalent to the set [0-9]. With UNICODE, it will match whatever is classified
as a decimal digit in the Unicode character properties database.

----------
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue786>
________________________________________


More information about the pypy-issue mailing list