Renamed function calls to use new names
This commit is contained in:
4
main.go
4
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 {
|
||||
|
Reference in New Issue
Block a user