Backreference within a character class

Alex alex at somewhere.round.here
Thu Feb 24 17:26:00 EST 2000


> can somebody point me to where this is documented

http://www.python.org/doc/current/lib/re-syntax.html

The "r" at the start means "raw string.  I don't know where this is
documented, I learnt it from the newsgroup.  It means read the string
literally.  Otherwise, you have to escape the backslashes.

Alex.



More information about the Python-list mailing list