gitee.com/mirrors/goreporter@v0.0.0-20180902115603-df1b20f7c5d0/linters/staticcheck/testdata/checkStdlibUsageRegexpFindAll.go (about)

     1  package pkg
     2  
     3  import "regexp"
     4  
     5  func fn() {
     6  	var r *regexp.Regexp
     7  	_ = r.FindAll(nil, 0) //MATCH /calling a FindAll method with n == 0 will return no results/
     8  }