diff --git a/main.go b/main.go index dc2392d..68fdd2c 100644 --- a/main.go +++ b/main.go @@ -119,12 +119,12 @@ func main() { } matchIndices := make([]Match, 0) if matchNumFlagEnabled { - tmp, err := findNthMatch(regComp, test_str, *matchNum) + tmp, err := FindNthMatch(regComp, test_str, *matchNum) if err == nil { matchIndices = append(matchIndices, tmp) } } else { - matchIndices = findAllMatches(regComp, test_str) + matchIndices = FindAllMatches(regComp, test_str) } if *printMatchesFlag {