Subject: Grep C library for multi-string pattern matching?
From: Jeffrey Walton <[email-masked]>
To: [email-masked]
Date: Sun, 26 Apr 2020 09:58:10 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Everyone,

I need to perform multi-string pattern matching in C. The problem I am
working on does not allow a shell script. I'm looking for a library
that implements Aho–Corasick or Commentz-Walter (or similar).

Does Grep provide a library that exposes its multi-string pattern
matching? If not, can someone recommend an implementation?

Thanks in advance.