Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: fix function name in comment #1543

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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