Documentation
¶
Overview ¶
Package matcher provides wildcard-based matching for rule IDs, paths, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher represents a compiled list of string matchers with wildcard support.
func New ¶
New creates a new matcher from a list of patterns.
Supported syntax:
- Exact match: "sql-injection"
- Wildcard match: "sql-*", "*-injection"
- Negation: "!deprecated-*"
Click to show internal directories.
Click to hide internal directories.