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)
|
matchIndices := make([]Match, 0)
|
||||||
if matchNumFlagEnabled {
|
if matchNumFlagEnabled {
|
||||||
tmp, err := findNthMatch(regComp, test_str, *matchNum)
|
tmp, err := FindNthMatch(regComp, test_str, *matchNum)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
matchIndices = append(matchIndices, tmp)
|
matchIndices = append(matchIndices, tmp)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
matchIndices = findAllMatches(regComp, test_str)
|
matchIndices = FindAllMatches(regComp, test_str)
|
||||||
}
|
}
|
||||||
|
|
||||||
if *printMatchesFlag {
|
if *printMatchesFlag {
|
||||||
|
Reference in New Issue
Block a user