aho_corasick_trie 0.0.2

SDKdartflutter
Platformandroidioswindowslinuxmacosweb

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]