Sorry, that was a dumb question. I forgot about

        for i in range(len(str) - 3):
                fnd = pattern.search(str, i)
                if fnd <longer than longest found before . . .>

(Why do I think of these things one [1] minute after posting a question in desperation? Law of nature?)

Charles Hartman

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to