[Tutor] Regular expressions question

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Dec 6 16:37:09 CET 2012


On 06/12/2012 11:31, Steven D'Aprano wrote:
> On 06/12/12 20:53, Albert-Jan Roskam wrote:
>
>> Lately I started using named groups (after I didn't understand
>>  some of my own regexes I wrote several months earlier).
>
> Months?  I can't understand my own regexes about six seconds
> after I look away from the screen.

+1 YOTW

>
>> The downside is that the regexes easily get quite long, but one
>> could use the re.VERBOSE flag to make it more readable.
>
> +1


-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list