Documentation ¶
Overview ¶
Package invert exists to invert indices as returned by the regexp Index family of functions. It also contains inverting helpers for FindAll(String)?(Index)?.
Index ¶
- func FindAll(r *regexp.Regexp, b []byte, n int) (out [][]byte)
- func FindAllIndex(r *regexp.Regexp, b []byte, n int) [][]int
- func FindAllString(r *regexp.Regexp, s string, n int) (out []string)
- func FindAllStringIndex(r *regexp.Regexp, s string, n int) [][]int
- func Indicies(idc [][]int, slen int) (out [][]int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAllIndex ¶
FindAllIndex returns the inverse of Regexp.FindAllIndex.
func FindAllString ¶
FindAllString returns the inverse of Regexp.FindAllString.
func FindAllStringIndex ¶
FindAllStringIndex returns the inverse of Regexp.FindAllStringIndex.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.