Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2026 v0.1.0 Sep 20, 2026 Changes in this version + const AllowEmpty + const Caseless + const DotAll + const MultiLine + const Prefilter + const SingleMatch + const SomLeftMost + const UTF8 + var ErrInvalid = engine.ErrInvalid + var ErrScanTerminated = engine.ErrScanTerminated + var ErrScratchInUse = engine.ErrScratchInUse + type CompileStats = engine.CompileStats + type Database engine.Database + func Compile(patterns ...*Pattern) (*Database, error) + func UnmarshalDatabase(data []byte) (*Database, error) + func (db *Database) Marshal() ([]byte, error) + func (db *Database) Match(data []byte, scratch *Scratch) (bool, error) + func (db *Database) Scan(data []byte, scratch *Scratch, handler MatchHandler) error + func (db *Database) Size() int + func (db *Database) Stats() CompileStats + type Flags = engine.Flags + type Match = engine.Match + type MatchHandler = engine.MatchHandler + type Pattern struct + Expression string + Flags Flags + ID uint + func NewPattern(expression string, flags Flags) *Pattern + func (p Pattern) Valid() bool + type Scratch engine.Scratch + func NewScratch(db *Database) *Scratch + func (s *Scratch) Clone() *Scratch