Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildMatcher ¶ added in v0.3.0
BuildMatcher returns a predicate reporting whether a text fragment matches the query. Regex mode compiles a case-insensitive regexp; otherwise the query is a case-insensitive fixed-string substring test. Exported so other sources (OpenCode) share the exact same match semantics as the claude grep.
Types ¶
type Options ¶ added in v0.1.1
type Options struct {
// Regex turns the query into a case-insensitive regular expression.
// When false (default), the query is matched as a case-insensitive
// fixed string, which means regex metacharacters in the query are
// treated as literals.
Regex bool
}
Options controls Filter behavior.
Click to show internal directories.
Click to hide internal directories.