On Fri, 22 May 2009 15:29:16 +0000, Steven D'Aprano wrote: > 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.
Correction: \b is BACKSPACE, not BELL. \a is BELL. -- Steven -- http://mail.python.org/mailman/listinfo/python-list