|ou

  • New in : SPIP 2.0

The |ou filter [1] is used to check the existence of at least one of two possible elements.

Examples:

[(#CHAPO|ou{#PS}) There is either a stand-first or a post-scriptum (or both) ]
[(#CHAPO|ou{#PS}|non) There is neither a stand-first nor a post-scriptum, and clearly then not both of them either]

See also

other logical filters

test filters

Footnotes

[1This can also be written as |or

Author Mark Published : Updated : 29/09/22

Translations : català, English, Español, français, Nederlands