regular expression back references

Graham Breed usenet at microtonal.co.uk
Fri Aug 8 19:09:06 EDT 2003


Matthew wrote:

> I wasn't sure how to do it but then I read about back references and I
> thought that all was well... Alas If any one could lend a hand I would
> appreciate it very much.

Use raw strings.  Like r"\1" instead of "\1".


                      Graham





More information about the Python-list mailing list