Expand description
Completion matching specifications (-M option)
Matcher control in zsh is complex. This implements the basic forms:
- m:pattern=replacement - match pattern, allow replacement
- l:anchor|pattern=replacement - left-anchored
- r:pattern|anchor=replacement - right-anchored
- b:anchor|pattern=replacement - both ends
- L, R, B, M - case variants (line vs word)
Structs§
- Match
Spec - A complete match specification (can have multiple matchers)
- Matcher
- A single matcher specification
Enums§
- Matcher
Type - Type of matcher
- Pattern
Element - Pattern element in a matcher