Replaced function call with method call

This commit is contained in:
2025-01-31 09:54:35 -05:00
parent e22822e619
commit 45b6566b2c

View File

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