Skip to content
Merged
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
10 changes: 5 additions & 5 deletions pipeline/filters/rewrite-tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ The key represents the name of the _record key_ that holds the `value` to use to

To match against the value of the key `name`, you must use `$name`. The key selector is flexible enough to allow to match nested levels of sub-maps from the structure. To capture the value of the nested key `s2`, specify `$ss['s1']['s2']`, for short:

-`$name` = `abc-123`
-`$ss['s1']['s2']` = `flb`
- `$name` = `abc-123`
- `$ss['s1']['s2']` = `flb`

A key must point to a value that contains a string. It's not valid for numbers, Boolean values, maps, or arrays.

Expand All @@ -74,9 +74,9 @@ This example uses parentheses to specify groups of data. If the pattern matches

If `$name` equals `abc-123`, then the following placeholders will be created:

-`$0` = `abc-123`
-`$1` = `abc`
-`$2` = `123`
- `$0` = `abc-123`
- `$1` = `abc`
- `$2` = `123`

If the regular expression doesn't match an incoming record, the rule will be skipped and the next rule (if present) will be processed.

Expand Down