This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sjmachin
Recipients ezio.melotti, mrabarnett, sjmachin
Date 2012-01-28.23:11:12
SpamBayes Score 3.057174e-06
Marked as misclassified No
Message-id <1327792272.74.0.646706361787.issue13899@psf.upfronthosting.co.za>
In-reply-to
Content
@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."
History
Date User Action Args
2012-01-28 23:11:12sjmachinsetrecipients: + sjmachin, ezio.melotti, mrabarnett
2012-01-28 23:11:12sjmachinsetmessageid: <1327792272.74.0.646706361787.issue13899@psf.upfronthosting.co.za>
2012-01-28 23:11:12sjmachinlinkissue13899 messages
2012-01-28 23:11:12sjmachincreate