Versions in this module Expand all Collapse all v0 v0.1.1 Nov 15, 2026 v0.1.0 Nov 9, 2026 Changes in this version + const MaxCodePoint + const UnicodeVersion + func IsIDContinue(r rune) bool + func IsIDStart(r rune) bool + type AST struct + DupNames bool + HasNames bool + Names []string + Root *Node + func Parse(pattern []uint16, flags Flags) (*AST, error) + type CaseMap struct + func Canonicalizer(unicodeMode bool) *CaseMap + func (m *CaseMap) Canonicalize(c rune) rune + type Checker struct + func (c *Checker) Check(pattern []uint16, flags Flags) error + type Error struct + Msg string + func (e *Error) Error() string + type Flags struct + DotAll bool + IgnoreCase bool + Multiline bool + Unicode bool + UnicodeSets bool + type Node struct + Behind bool + CapHi int + CapLo int + Greedy bool + Icase bool + Index int + Max int + Min int + Multiline bool + Name string + Negate bool + Op Op + Refs []int + Set Set + Subs []*Node + func (n *Node) CanBeEmpty() bool + func (n *Node) Walk(fn func(*Node)) + type Op uint8 + const OpAlt + const OpBackref + const OpBegin + const OpCapture + const OpChar + const OpEmpty + const OpEnd + const OpLook + const OpNotWordB + const OpRepeat + const OpSeq + const OpWordB + type Set []rune + func DecodeRanges(s string) Set + func (s Set) Complement() Set + func (s Set) ComplementIn(top rune) Set + func (s Set) Has(c rune) bool + func (s Set) Intersect(t Set) Set + func (s Set) Normalize() Set + func (s Set) Single() (rune, bool) + func (s Set) Subtract(t Set) Set + func (s Set) Union(t Set) Set v0.1.0-alpha.11 Oct 27, 2026