You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What does 'go version' print?
go version go1.2 darwin/amd64
What steps reproduce the problem?
http://play.golang.org/p/bcm1BeQ9r2
re := regexp.MustCompile("aaa")
fmt.Println(re.FindAllStringIndex("aaaaa", -1))
What happened?
program printed
[[0 3]]
What should have happened instead?
expected output:
[[0 3], [1 4], [2 5]]
Please provide any additional information below.
Even if this behavior is expected (which is somewhat counter-intuitive), it should be
documented at
http://golang.org/pkg/regexp/#Regexp.FindAllStringIndex
The text was updated successfully, but these errors were encountered:
by vonosmas:
The text was updated successfully, but these errors were encountered: