Expand description
§ternary-regex
Pattern matching on ternary sequences (-1, 0, +1). Provides NFA and DFA construction
from ternary patterns, NFA→DFA conversion with minimization, wildcard support, and
stream matching against ternary input.
Structs§
- TernaryDFA
- A ternary DFA for pattern matching.
- TernaryNFA
- A ternary NFA for pattern matching.
- Ternary
Pattern - A compiled pattern: a sequence of PatternElems.
Enums§
- Pattern
Elem - A single element in a ternary pattern.
- Ternary
- A ternary value: Negative (-1), Zero (0), or Positive (+1).
Functions§
- compile
- Convenience: compile a pattern to a minimized DFA.
- find_
matches - Convenience: find all occurrences of a pattern in a ternary stream.
- matches
- Convenience: match a pattern against a ternary sequence.