Skip to main content

Module matcher

Module matcher 

Source
Expand description

Pattern matcher implementation using Aho-Corasick algorithm

This module provides efficient multi-pattern string matching to identify tool usage in Bash commands.

Structs§

AhoCorasickMatcher
Aho-Corasick based pattern matcher
ToolMatch
Represents a tool match found in text

Traits§

PatternMatcher
Trait for pattern matching implementations

Functions§

create_matcher
Factory function to create a new pattern matcher