[issue8671] A small erorr on http://docs.python.org/library/re.html

New submission from bones7456 <bones7456@gmail.com>: 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. ---------- assignee: docs@python components: Documentation messages: 105391 nosy: bones7456, docs@python priority: normal severity: normal status: open title: A small erorr on http://docs.python.org/library/re.html versions: Python 2.6 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8671> _______________________________________

Eric Smith <eric@trueblade.com> added the comment: Fixed in: trunk: r81026 release26-maint: r81027 It was already correct in py3k and release31-maint. Thanks! ---------- nosy: +eric.smith resolution: -> accepted stage: -> committed/rejected status: open -> closed versions: +Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8671> _______________________________________

Eric Smith <eric@trueblade.com> added the comment: Fixed in: trunk: r81026 release26-maint: r81027 It was already correct in py3k and release31-maint. Thanks! ---------- nosy: +eric.smith resolution: -> accepted stage: -> committed/rejected status: open -> closed versions: +Python 2.7 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8671> _______________________________________
participants (2)
-
bones7456
-
Eric Smith