Replaced function call with method call
This commit is contained in:
@@ -126,7 +126,7 @@ func main() {
|
||||
matchIndices = append(matchIndices, tmp)
|
||||
}
|
||||
} else {
|
||||
matchIndices = reg.FindAllMatches(regComp, test_str)
|
||||
matchIndices = regComp.FindAllSubmatch(test_str)
|
||||
}
|
||||
|
||||
if *printMatchesFlag {
|
||||
|
Reference in New Issue
Block a user