aho_corasick_trie 0.0.2 aho_corasick_trie: ^0.0.2 copied to clipboard
Aho-Corasick string search, implemented directly on top of a (slow) trie
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]