[New-bugs-announce] [issue27116] Documentation for regular expression alphanumeric matching are swapped. https://docs.python.org/2/library/re.html#regular-expression-syntax
dananntang
report at bugs.python.org
Tue May 24 22:24:52 EDT 2016
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 at python
components: Documentation
messages: 266291
nosy: dananntang, docs at 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 <report at bugs.python.org>
<http://bugs.python.org/issue27116>
_______________________________________
More information about the New-bugs-announce
mailing list