Skip to content

Commit

Permalink
Source impl of #1181
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Jan 28, 2023
1 parent db88285 commit e0bcf91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/transformers/put_or_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ More example put expressions:
Regex-replacement:
'$name = sub($name, "http.*com"i, "")'
Regex-capture:
'if ($a =~ "([a-z]+)_([0-9]+)) { $b = "left_\1"; $c = "right_\2" }'
'if ($a =~ "([a-z]+)_([0-9]+)") { $b = "left_\1"; $c = "right_\2" }'
Built-in variables:
'$filename = FILENAME'
Aggregations (use mlr put -q):
Expand Down

0 comments on commit e0bcf91

Please sign in to comment.