New submission from dananntang:

https://docs.python.org/2/library/re.html#regular-expression-syntax
Section 7.2.1. Regular Expression Syntax

Documentation for \w and \W are wrong.
To be specific:
\w is to match any non-alphanumeric character, while \W is to match 
alphanumeric character

Fix: swap documentation for \w and \W

----------
assignee: docs@python
components: Documentation
messages: 266291
nosy: dananntang, docs@python
priority: normal
severity: normal
status: open
title: Documentation for regular expression alphanumeric matching are swapped. 
https://docs.python.org/2/library/re.html#regular-expression-syntax
versions: Python 2.7

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

Reply via email to