[Python-bugs-list] "Andrew M. Kuchling": Re: Module re bug. \b fails (PR#230)

Tim Peters tim_one@email.msn.com
Thu, 9 Mar 2000 22:31:42 -0500


> >>>>> "guido" ==   <guido@python.org> writes:
>
>     guido> Sigh.  I'm embarrassed.

[Barry]
> Don't be.  The interface is simply broken and everybody makes the same
> mistake (sometimes, like me, over and over again :).

Ha ha:  not me!  I've never ever confused these.  Here's the trick:
"search" searches and "match" matches.  Just keep that in mind and you'll
never go wrong either <wink>.

> Not that it can be changed.  :(

We could add alias names and "deprecate" the current names.  But what names?
"search" and "dontsearch" <0.9 wink>?  BTW, these functions are great, and I
would kill to keep "match" (it's sooooo much more useful when problems get
hard).