Skip to content

Commit 1510ea3

Browse files
leogrjasondellaluce
authored andcommitted
docs(userspace/libsinsp/filter/parser): fix grammar doc
The spaces after the operator tokens were intended to indicate operators that mandate a whitespace character to be followed. Co-authored-by: Jason Dellaluce <[email protected]> Signed-off-by: Leonardo Grasso <[email protected]>
1 parent 1a577ba commit 1510ea3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

userspace/libsinsp/filter/parser.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,14 @@ class RE2;
6464
// UnaryOperator ::= 'exists'
6565
// NumOperator ::= '<=' | '<' | '>=' | '>'
6666
// StrOperator ::= '==' | '=' | '!='
67-
// | 'bcontains' | 'bstartswith'
68-
// | 'contains'
69-
// | 'endswith'
70-
// | 'glob'
71-
// | 'icontains'
72-
// | 'startswith'
73-
// | 'regex'
67+
// | 'bcontains ' | 'bstartswith '
68+
// | 'contains '
69+
// | 'endswith '
70+
// | 'glob '
71+
// | 'icontains '
72+
// | 'iglob '
73+
// | 'startswith '
74+
// | 'regex '
7475
// ListOperator ::= 'in' | 'intersects' | 'pmatch'
7576
// FieldTransformerVal ::= 'val('
7677
// FieldTransformerType ::= 'tolower(' | 'toupper(' | 'b64(' | 'basename(' | 'len('

0 commit comments

Comments
 (0)