[Python-ideas] Improving Clarity of re Module

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Nov 27 22:41:11 CET 2013


Stephen J. Turnbull wrote:
> Please, not "text"; I would expect that to be the target string, not a
> substring.

I would have expected 'string' to be the matched text,
but it's not. So the most obvious name is already
taken. :-(

How about 'all'?

-- 
Greg


More information about the Python-ideas mailing list