Steven D'Aprano wrote: [snip]
But if you forget that Python uses backslash escapes in strings, and just write "\b", then the compiler creates the string chr(8) (BEL), which has no special meaning to the RE engine.
"\b" or chr(8) is BS (backspace); "\a" or chr(7) is BEL (bell). -- http://mail.python.org/mailman/listinfo/python-list