Replaced function call with method call

master
Aadhavan Srinivasan 2 days ago
parent e22822e619
commit 45b6566b2c

@ -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 {

Loading…
Cancel
Save