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