[Tutor] Advanced String Search using operators AND, OR etc..
kent37 at tds.net
Tue May 5 14:45:23 CEST 2009
On Tue, May 5, 2009 at 8:11 AM, Lie Ryan <lie.1296 at gmail.com> wrote:
> Bring on your hardest searches...
> The Suite class is only there to turn the NotFound sentinel from len(text)
> to -1 (used len(text) since it simplifies the code a lot...)
How does this simplify the code? Why not use the 'in' operator and
return True or False from the terms?
More information about the Tutor