[Python-ideas] Improving Clarity of re Module
MRAB
python at mrabarnett.plus.com
Wed Nov 27 23:56:28 CET 2013
On 27/11/2013 21:41, Greg Ewing wrote:
> 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'?
>
All what?
-1
Reading the docs, it refers to the entire "matching string", so how
about "matching_string"? Or "matched_part"?
More information about the Python-ideas
mailing list