regexp.Regexp.FindIndex (method)
4 uses
regexp (current package)
regexp.go#L828: func (re *Regexp) FindIndex(b []byte) (loc []int) {
github.com/google/licensecheck
scan.go#L156: if u := urlScanRE.FindIndex(text[w.Lo:]); u != nil && (m.Start == len(words) || int(w.Lo)+u[1] <= int(words[m.Start].Lo)) {
golang.org/x/pkgsite/devtools/cmd/csphash
main.go#L134: start := scriptStartRegexp.FindIndex(b)
main.go#L141: end := scriptEndRegexp.FindIndex(b)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |