Why re.match()?

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Tue Jul 7 15:23:49 CEST 2009


Paul Rudin a écrit :
> Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid> writes:
> 
>> kj a écrit :
>>> In <4a4e2227$0$7801$426a74cc at news.free.fr> Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid> writes:
>>>
>>>> kj a écrit :
>>>> (snipo
>>>>> To have a special-case
>>>>> re.match() method in addition to a general re.search() method is
>>>>> antithetical to language minimalism,
>>>> FWIW, Python has no pretention to minimalism.
>>> Assuming that you mean by this that Python's authors have no such
>>> pretensions:
>>>
>>> "There is real value in having a small language."
>>>
>>> 			Guido van Rossum, 2007.07.03
>>> 			http://mail.python.org/pipermail/python-3000/2007-July/008663.html
>> There are some differences between "small" and "minimal"...
>>
> 
> There's also a difference between the language and its standard
> library.

Indeed.



More information about the Python-list mailing list