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