Versions in this module Expand all Collapse all v1 v1.0.0 Jun 15, 2025 Changes in this version + func Escape(re string) string + func IsValid(re string) bool + func IsValidRE2(re string) bool + func JoinBytes(bytes ...any) []byte + func TestCache(t *testing.T) + func TestCompile(t *testing.T) + func TestConcurrent(t *testing.T) + func TestFlags(t *testing.T) + func TestPerformance(t *testing.T) + func TestReplaceFunc(t *testing.T) + func TestReplaceStr(t *testing.T) + func TestReplaceStrComplex(t *testing.T) + func TestValid(t *testing.T) + type Regexp struct + RE *regexp.Regexp + func Comp(re string, params ...string) *Regexp + func CompTry(re string, params ...string) (*Regexp, error) + func (reg *Regexp) Match(buf []byte) bool + func (reg *Regexp) MatchFile(file *os.File, maxReSize ...int64) bool + func (reg *Regexp) Rep(buf []byte, rep []byte) []byte + func (reg *Regexp) RepFile(file *os.File, rep []byte, all bool, maxReSize ...int64) error + func (reg *Regexp) RepFileFunc(file *os.File, rep func(data func(int) []byte) []byte, all bool, ...) error + func (reg *Regexp) RepFunc(buf []byte, rep func(b func(int) []byte) []byte) []byte + func (reg *Regexp) RepLit(str []byte, rep []byte) []byte + func (reg *Regexp) Split(buf []byte) [][]byte + func (reg *Regexp) SplitStr(str string) []string