Versions in this module Expand all Collapse all v0 v0.1.0 Sep 19, 2026 Changes in this version + const InstructionProfile + func Fold[R any](mode Mode, cases ModeCases[R]) R + func ModeEqual(a, b Mode) bool + func ModeEqualWith(a, b Mode, ov ModeEqOverrides) bool + func ModeFold[R any](m Mode, cs ModeCases[R]) R + func OpcodeEqual(a, b Opcode) bool + func OpcodeEqualWith(a, b Opcode, ov OpcodeEqOverrides) bool + func OpcodeFold[R any](o Opcode, cs OpcodeCases[R]) R + func OpcodeName(op Opcode) string + type Accept struct + type Alt struct + type AltMatch struct + type Capture struct + type EmptyWidth struct + type Error struct + Code string + Message string + func (e *Error) Error() string + type Fail struct + type Full struct + type Instruction struct + Arg uint32 + Opcode Opcode + Out uint32 + Runes []rune + type Mode interface + type ModeCases struct + Full func() R + Search func() R + type ModeEqOverrides struct + Full func(x, y Full) (eq, handled bool) + Search func(x, y Search) (eq, handled bool) + type Nop struct + type Opcode interface + type OpcodeCases struct + Accept func() R + Alt func() R + AltMatch func() R + Capture func() R + EmptyWidth func() R + Fail func() R + Nop func() R + Rune func() R + Rune1 func() R + RuneAny func() R + RuneAnyNotNL func() R + type OpcodeEqOverrides struct + Accept func(x, y Accept) (eq, handled bool) + Alt func(x, y Alt) (eq, handled bool) + AltMatch func(x, y AltMatch) (eq, handled bool) + Capture func(x, y Capture) (eq, handled bool) + EmptyWidth func(x, y EmptyWidth) (eq, handled bool) + Fail func(x, y Fail) (eq, handled bool) + Nop func(x, y Nop) (eq, handled bool) + Rune func(x, y Rune) (eq, handled bool) + Rune1 func(x, y Rune1) (eq, handled bool) + RuneAny func(x, y RuneAny) (eq, handled bool) + RuneAnyNotNL func(x, y RuneAnyNotNL) (eq, handled bool) + type Program struct + Instructions []Instruction + Profile string + Start int + UnicodeVersion string + type Regex struct + func Compile(source value.Text, meter *validation.Meter) (Regex, error) + func (r Regex) Match(subject value.Text, mode Mode, meter *validation.Meter) (bool, error) + func (r Regex) Program() (Program, error) + type Rune struct + type Rune1 struct + type RuneAny struct + type RuneAnyNotNL struct + type Search struct