package helpers

Import Path
	github.com/dlclark/regexp2/v2/helpers (on go.dev)

Dependency Relation
	imports 8 packages, and imported by one package


Package-Level Type Names (total 3)
/* sort by: | */
return the first index of our original vals values within the slice given return the first index of anything except our original vals values within the slice given return the last index of our original vals values within the slice given return the last index of our original vals values within the slice given func NewAsciiSearchValues(vals string) AsciiSearchValues
return the first index of our original vals values within the slice given return the first index of our original vals values within the slice given return the last index of our original vals values within the slice given return the last index of our original vals values within the slice given func NewRuneSearchValues(vals string) RuneSearchValues
( StringSearchValues) IndexOfAny(in []rune) int ( StringSearchValues) StartsWith(chars []rune) int ( StringSearchValues) StartsWithIgnoreCase(chars []rune) int func NewStringSearchValues(vals [][]rune, ignoreCase bool) StringSearchValues
Package-Level Functions (total 35)
func Equals(in []rune, start int, length int, find []rune) bool
func EqualsIgnoreCase(in []rune, start int, length int, find []rune) bool
func IndexFunc(in []rune, f func(ch rune) bool) int
func IndexOf(in []rune, find []rune) int
func IndexOfAny(in []rune, find []rune) int
func IndexOfAny1(in []rune, find rune) int
func IndexOfAny2(in []rune, find1, find2 rune) int
func IndexOfAny3(in []rune, find1, find2, find3 rune) int
func IndexOfAnyExcept(in []rune, bad []rune) int
func IndexOfAnyExcept1(in []rune, bad rune) int
func IndexOfAnyExcept2(in []rune, bad1, bad2 rune) int
func IndexOfAnyExcept3(in []rune, bad1, bad2, bad3 rune) int
func IndexOfAnyExceptInRange(in []rune, first, last rune) int
func IndexOfAnyInRange(in []rune, first, last rune) int
find should always be sent in lower-case
func IndexOfIgnoreCaseAscii(in []rune, find []rune) int
func IsBetween(val rune, first, last rune) bool
func IsInMask32(ch rune, mask uint32) bool
func IsInMask64(ch rune, mask uint64) bool
According to UTS#18 Unicode Regular Expressions (http://www.unicode.org/reports/tr18/) RL 1.4 Simple Word Boundaries The class of <word_character> includes all Alphabetic values from the Unicode character database, from UnicodeData.txt [UData], plus the U+200C ZERO WIDTH NON-JOINER and U+200D ZERO WIDTH JOINER.
func LastIndexOf(in []rune, find []rune) int
func LastIndexOfAny1(in []rune, find rune) int
func LastIndexOfAnyInRange(in []rune, first, last rune) int
func Max(a, b int) int
func Min(a, b int) int
func StartsWith(in []rune, find []rune) bool
find should always be sent in lower-case