SPX2 Thu, 12 Jan 2006 22:35:57 -0800
try knuth-morris-pratt algorithm or kmp search... aho-corsasick would be better but kmp is easier to understand