Versions in this module Expand all Collapse all v1 v1.142.0 Oct 9, 2026 v1.141.0 Oct 8, 2026 Changes in this version + const BytesPerStep + const Name + var Module = &starlarkstruct.Module + func Validate(pattern string) error + type Match struct + func (*Match) AttrNames() []string + func (*Match) Freeze() + func (*Match) Hash() (uint32, error) + func (*Match) Truth() starlark.Bool + func (*Match) Type() string + func (m *Match) Attr(name string) (starlark.Value, error) + func (m *Match) String() string + type Pattern struct + func (*Pattern) AttrNames() []string + func (*Pattern) Freeze() + func (*Pattern) Truth() starlark.Bool + func (*Pattern) Type() string + func (p *Pattern) Attr(name string) (starlark.Value, error) + func (p *Pattern) CompareSameType(op syntax.Token, y starlark.Value, _ int) (bool, error) + func (p *Pattern) Hash() (uint32, error) + func (p *Pattern) String() string