Scout: String Searching Library (AhoCorasick Leftmost-Longest Implementation)

Hi there!

I’ve been writing Zig for a few days now, and yesterday decided to use the language to implement some projects that I’ve been wanting to write for a while.

Turns out that I needed a string searching library to work on one of them, specifically something that can search with leftmost-longest semantics.

This library does that. It was written to support different algorithm implementations, but currently only supports AhoCorasick in leftmost-longest configuration, because that is just what I needed right now. I may expand upon it later – but if anyone needs something like this too, I hope it helps!

I’m still learning, please feel free to suggest improvements.