Versions in this module Expand all Collapse all v5 v5.1.0 Jul 27, 2023 v5.0.1 Jul 27, 2023 Changes in this version + type PCRE *pcre.Regexp + type RE2 *regexp.Regexp v5.0.0 Jul 26, 2023 Changes in this version + func Escape(re string) string + func IsValid(str []byte) bool + func JoinBytes(bytes ...interface{}) []byte + type Regexp struct + RE *pcre.Regexp + func Compile(re string, params ...string) *Regexp + func CompileTry(re string, params ...string) (*Regexp, error) + func (reg *Regexp) Match(str []byte) bool + func (reg *Regexp) ReplaceFunc(str []byte, rep func(data func(int) []byte) []byte, blank ...bool) []byte + func (reg *Regexp) ReplaceString(str []byte, rep []byte) []byte + func (reg *Regexp) ReplaceStringComplex(str []byte, rep []byte) []byte + func (reg *Regexp) Split(str []byte) [][]byte + type RegexpRE2 struct + RE *regexp.Regexp + func (reg *RegexpRE2) RepFunc(str []byte, rep func(data func(int) []byte) []byte, blank ...bool) []byte + func (reg *RegexpRE2) RepStrComp(str []byte, rep []byte) []byte Other modules containing this package github.com/AspieSoft/go-regex/v4 github.com/AspieSoft/go-regex/v8