What is \1 here?

Mark Lawrence breamoreboy at yahoo.co.uk
Tue Nov 11 18:39:07 CET 2014


On 11/11/2014 15:20, Albert-Jan Roskam wrote:
> ----- Original Message -----
>> From: Ned Batchelder <ned at nedbatchelder.com>
>> To: python-list at python.org
>> Cc:
>> Sent: Tuesday, November 11, 2014 12:52 PM
>> Subject: Re: What is \1 here?
>
> <snip>
>
>
>> You need to learn how to find this stuff out for yourself. Ben Finney
>> even gave you a pointer to a helpful site for experimenting with
>> regexes: http://pythex.org/
>
> Cool. I also like this one, which hardly anybody appears to use:
>
> python C:\Python27\Tools\Scripts\redemo.py
>
> The functionality is virtually the same.
>

FTR redemo.py has been removed from Python 3 at some point.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list