Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledRegexp ¶
type CompiledRegexp interface {
MatchString(s string) bool
FindString(s string) string
FindStringSubmatch(s string) []string
FindAllStringIndex(s string, n int) [][]int
ReplaceAllString(src, repl string) string
NumSubexp() int
SubexpNames() []string
String() string
}
CompiledRegexp is an interface satisfied by both *stdlib.Regexp and *github.com/betterleaks/go-re2.Regexp.
Click to show internal directories.
Click to hide internal directories.