MCPcopy Create free account
hub / github.com/brimdata/super / NewCaseFinder

Function NewCaseFinder

pkg/stringsearch/search.go:133–135  ·  view source on GitHub ↗
(pattern string)

Source from the content-addressed store, hash-verified

131type CaseFinder Finder
132
133func NewCaseFinder(pattern string) *CaseFinder {
134 return (*CaseFinder)(NewFinder(strings.ToLower(pattern)))
135}
136
137// Next returns the index in text of the first occurrence of the pattern. If
138// the pattern is not found, it returns -1.

Callers 2

NewFieldNameFinderFunction · 0.92

Calls 1

NewFinderFunction · 0.85

Tested by

no test coverage detected