[issue12731] python lib re uses obsolete sense of \w in full violation of UTS#18 RL1.2a

Guido van Rossum report at bugs.python.org
Fri Aug 26 23:22:26 CEST 2011


Guido van Rossum <guido at python.org> added the comment:

Really?  The re module cannot be salvaged and we should add regex but keep the (buggy) re?  That does not make a lot of sense to me.  I think it should just be fixed in the re module.  Or the re module should be *replaced* by the code from the regex module (but renamed to re, and with certain backwards compatibilities restored, probably).  But I really hope the re module (really: the _sre extension module) can be fixed.  We should also make a habit in our docs of citing specific versions of the Unicode standard, and specific TR numbers and versions where they apply.  (And hopefully we can supply URLs to the Unicode consortium's canonical copies of those documents.)

----------
nosy: +gvanrossum

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12731>
_______________________________________


More information about the Python-bugs-list mailing list