Skip to content

Commit 3bb91e5

Browse files
author
Birger Schacht
committed
DOC: fix some redundant backticks
1 parent 58f95ce commit 3bb91e5

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/user/bots.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2523,11 +2523,11 @@ specified with quotes. Following operators may be used to match events:
25232523

25242524
* `:exists` and `:notexists` match if a given key exists, for example:
25252525

2526-
```if :exists source.fqdn { ... }```
2526+
``if :exists source.fqdn { ... }``
25272527

25282528
* `==` and `!=` match for equality of strings and numbers, for example:
25292529

2530-
```if feed.name != 'acme-security' || feed.accuracy == 100 { ... }```
2530+
``if feed.name != 'acme-security' || feed.accuracy == 100 { ... }``
25312531

25322532
* `:contains` matches on substrings.
25332533

@@ -2537,18 +2537,18 @@ specified with quotes. Following operators may be used to match events:
25372537

25382538
* `<<` matches if an IP address is contained in the specified network range:
25392539

2540-
```if source.ip << '10.0.0.0/8' { ... }```
2540+
``if source.ip << '10.0.0.0/8' { ... }``
25412541

25422542
* Values to match against can also be specified as list, in which case any one of the values will result in a match:
25432543

2544-
```if source.ip == ['8.8.8.8', '8.8.4.4'] { ... }```
2544+
``if source.ip == ['8.8.8.8', '8.8.4.4'] { ... }``
25452545

25462546
In this case, the event will match if it contains a key `source.ip` with
25472547
either value `8.8.8.8` or `8.8.4.4`.
25482548

25492549
With inequality operators, the behavior is the same, so it matches if any expression does not match:
25502550

2551-
```if source.ip != ['8.8.8.8', '8.8.4.4'] { ... }```
2551+
``if source.ip != ['8.8.8.8', '8.8.4.4'] { ... }``
25522552

25532553
Events with values like `8.8.8.8` or `8.8.4.4` will match, as they are always unequal to the other value.
25542554
The result is *not* that the field must be unequal to all given values.
@@ -2563,27 +2563,27 @@ in the sieve file will be forwarded to the next bot in the pipeline, unless the
25632563

25642564
* `add` adds a key value pair to the event. This action only applies if the key is not yet defined in the event. If the key is already defined, the action is ignored. Example:
25652565

2566-
```add comment = 'hello, world'```
2566+
``add comment = 'hello, world'``
25672567

25682568
* `add!` same as above, but will force overwrite the key in the event.
25692569

25702570
* `update` modifies an existing value for a key. Only applies if the key is already defined. If the key is not defined in the event, this action is ignored. Example:
25712571

2572-
```update feed.accuracy = 50```
2572+
``update feed.accuracy = 50``
25732573

25742574
* `remove` removes a key/value from the event. Action is ignored if the key is not defined in the event. Example:
25752575

2576-
```remove extra.comments```
2576+
``remove extra.comments``
25772577

25782578
* `keep` sends the message to the next bot in the pipeline (same as the default behaviour), and stops sieve file processing.
25792579

2580-
```keep```
2580+
``keep``
25812581

25822582
* `path` sets the path (named queue) the message should be sent to (implicitly
25832583
or with the command `keep`. The named queue needs to configured in the
25842584
pipeline, see the User Guide for more information.
25852585

2586-
```path 'named-queue'```
2586+
``path 'named-queue'``
25872587

25882588
* `drop` marks the event to be dropped. The event will not be forwarded to the next bot in the pipeline. The sieve file processing is interrupted upon
25892589
reaching this action. No other actions may be specified besides the `drop` action within `{` and `}`.

0 commit comments

Comments
 (0)