[docs] [issue25743] Clarify exactly what \w matches in UNICODE mode

Andi McClure report at bugs.python.org
Fri Nov 27 11:14:25 EST 2015


Andi McClure added the comment:

I would like to request also a clear explanation be given for the documentation in the 2.7 branch. From https://docs.python.org/2.7/library/re.html :

"\w ... If UNICODE is set, this will match the characters [0-9_] plus whatever is classified as alphanumeric in the Unicode character properties database"

This is ambiguous. Does it mean the "Alphabetic" property from UAX#44? Does it mean something else?

----------
nosy: +Andi McClure

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


More information about the docs mailing list