Rabin-Karp mixed with Aho-Corasick