View definition

(*Regexp).FindStringIndex

Defined in github.com/golang/go/src/regexp/regexp.go

Description

FindStringIndex returns a two-element slice of integers defining the location of the leftmost match in s of the regular expression. The match itself is at s[loc[0]:loc[1]]. A return value of nil indicates no match.