Skip to content

Commit

Permalink
chore: fix function name in comment (#1543)
Browse files Browse the repository at this point in the history
Signed-off-by: camcui <cuishua@sina.cn>
  • Loading branch information
camcui authored Apr 12, 2024
1 parent e714738 commit 12480c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/bifs/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func BIF_string_matches_regexp(input1, input2 *mlrval.Mlrval) (retval *mlrval.Ml
return mlrval.FromBool(boolOutput), captures
}

// BIF_string_matches_regexp implements the !=~ operator.
// BIF_string_does_not_match_regexp implements the !=~ operator.
func BIF_string_does_not_match_regexp(input1, input2 *mlrval.Mlrval) (retval *mlrval.Mlrval, captures []string) {
output, captures := BIF_string_matches_regexp(input1, input2)
if output.IsBool() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/dsl/cst/hofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ func sortAF(
return mlrval.FromArray(outputArray)
}

// sortAF implements sort on arrays with callback UDF.
// sortMF implements sort on arrays with callback UDF.
func sortMF(
input1 *mlrval.Mlrval,
input2 *mlrval.Mlrval,
Expand Down
2 changes: 1 addition & 1 deletion pkg/mlrval/mlrval_infer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func SetInferrerOctalAsInt() {
packageLevelInferrer = inferWithOctalAsInt
}

// SetInferrerStringOnly is for mlr -A.
// SetInferrerIntAsFloat is for mlr -F.
func SetInferrerIntAsFloat() {
packageLevelInferrer = inferWithIntAsFloat
}
Expand Down

0 comments on commit 12480c4

Please sign in to comment.