In this method:
func (re *Regexp) FindAllStringSubmatch(s string, n int) [][]string
What does the second parameter do? I have tried:
re, _ := regexp.Compile("a")
rs := re.FindAllString("aaaaa, ", **1**) // 1 get one 'a', 2 get two 'a's, 3 get three 'a's ...
for _,v := range rs {
fmt.Println(v)
}
It seems that the second parameter is about how many times it matches. Am I right? Could anybody give me an answer for sure? Official doc or some links is prefer.