Versions in this module Expand all Collapse all v5 v5.1.0 Jul 27, 2023 Changes in this version + func Escape(re string) string + func IsValid(str []byte) bool + func JoinBytes(bytes ...interface{}) []byte + type PCRE *pcre.Regexp + type RE2 *regexp.Regexp + type Regexp struct + PCRE *pcre.Regexp + RE2 *regexp.Regexp + func Comp(re string, params ...string) *Regexp + func CompTry(re string, params ...string) (*Regexp, error) + func (reg *Regexp) Match(str []byte) bool + func (reg *Regexp) RepFunc(str []byte, rep func(data func(int) []byte) []byte, blank ...bool) []byte + func (reg *Regexp) RepStr(str []byte, rep []byte) []byte + func (reg *Regexp) RepStrComp(str []byte, rep []byte) []byte + func (reg *Regexp) Split(str []byte) [][]byte