John Machin <sjmac...@lexicon.net> added the comment:

@ezio: Of course the context is "inside a character class".

I expect r'[\b]' to act like r'\b' aka r'\x08' aka backspace because (1) that 
is the treatment applied to all other C-like control char escapes (2) the docs 
say so explicitly: "Inside a character range, \b represents the backspace 
character, for compatibility with Python’s string literals."

----------

_______________________________________
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