Dennis Benzinger: > You could use the Aho-Corasick algorithm <http://en.wikipedia.org/wiki/ > Aho-Corasick_algorithm>. > I don't know if there's a Python implementation yet.
http://hkn.eecs.berkeley.edu/~dyoo/python/ahocorasick/ Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list