aho_corasick_search
Read-onlyIdempotent
Search text for multiple patterns at once and return every occurrence using the Aho-Corasick algorithm, enabling multi-pattern matching in one pass.
Instructions
Find all occurrences of multiple patterns in text simultaneously using the Aho-Corasick algorithm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search in | |
| patterns | Yes | Patterns to search for |