Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Commit d1aefd1

Browse files
Radim Hrazdilqinqon
authored andcommitted
docs: update policy syntax to feature boolean type
Signed-off-by: Radim Hrazdil <rhrazdil@redhat.com>
1 parent 496f1d2 commit d1aefd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/user-guide/102-policy-syntax.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,17 @@ The following is a semi-formal definition of the capture entry expression:
3636
<digit> ::= [0-9]
3737
<number> ::= <digit>+
3838
<identity> ::= <letter> ( <digit> | "-" | <letter> )*
39+
<boolean> ::= "true" | "false"
3940
<dot> ::= "."
4041
<path> ::= <identity> ( <dot> ( <identity> | <number> ))*
4142
<string> ::= \" (<all characters>)* \"
4243
4344
<captureid> ::= <identity>
4445
<capturepath> ::= "capture" <dot> <captureid> <path>
4546
<eqoperator> ::= "=="
46-
<eqexpression> ::= <path> <eqoperator> (<string> | <number> | <capturepath>)
47+
<eqexpression> ::= <path> <eqoperator> (<string> | <number> | <boolean> | <capturepath>)
4748
<replaceoperator> ::= ":="
48-
<replaceexpression> ::= <path> <replaceoperator> (<string> | <number> | <capturepath>)
49+
<replaceexpression> ::= <path> <replaceoperator> (<string> | <number> | <boolean> | <capturepath>)
4950
<pathexpression> ::= <path>
5051
<expression> ::= <pathexpression> | <eqexpression> | <replaceexpression>
5152
<pipe> ::= "|"

0 commit comments

Comments
 (0)