Georg Brandl <ge...@python.org> added the comment:

r'[\w]' also matches word chars.  I find that a very useful property, since you 
can easily build classes like '[\w.]'  It's also impossible to change this 
without breaking lots of regexes.  It's also explicitly documented, although 
IMO it's not clear it extends to \A and \Z, since it talks about "character 
classes".  So this is a docs issue.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, georg.brandl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13899>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to