The second-worst Aho-Corasick implementation on pub.dev.

Usage

AhoCorasick.from(['b', 'ab', 'e'])
        .findAll('abe')
        .map((m) => m.contents)
        .toList());
// [b, ab, e]

Libraries

aho_corasick_trie