classification
Title: A small erorr on http://docs.python.org/library/re.html
Type: Stage: resolved
Components: Documentation Versions: Python 2.7, Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: docs@python Nosy List: bones7456, docs@python, eric.smith
Priority: normal Keywords:

Created on 2010-05-09 12:43 by bones7456, last changed 2010-05-09 14:10 by eric.smith. This issue is now closed.

Messages (2)
msg105391 - (view) Author: bones7456 (bones7456) Date: 2010-05-09 12:43
In section \b , original text is:

Matches the empty string, but only at the beginning or end of a word. A word is defined as a sequence of alphanumeric or underscore characters, so the end of a word is indicated by whitespace or a non-alphanumeric, non-underscore character. Note that \b  is defined as the boundary between \w and \ W, so the precise set of characters deemed to be alphanumeric depends on the values of the UNICODE and LOCALE flags. Inside a character range, \b  represents the backspace character, for compatibility with Python’s string literals.

NOTE: there is space between "\" and "W", I think it is not needed.
msg105395 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2010-05-09 14:10
Fixed in:
trunk: r81026
release26-maint: r81027

It was already correct in py3k and release31-maint.

Thanks!
History
Date User Action Args
2010-05-09 14:10:01eric.smithsetstatus: open -> closed

versions: + Python 2.7
nosy: + eric.smith

messages: + msg105395
resolution: accepted
stage: resolved
2010-05-09 12:43:33bones7456create