startswith() and endswith() for re's would be more intuitive

metaperl metaperl at
Thu Sep 28 16:13:17 CEST 2006

I just finished answering a question in #python because someone tried
to match using ... well.. match()
but did not realize that match() is actually startswith() for regexps.

I suggest:

But it will never happen.

More information about the Python-list mailing list