Skip to content

Commit

Permalink
docs(userspace/libsinsp/filter/parser): fix grammar doc
Browse files Browse the repository at this point in the history
The spaces after the operator tokens were intended to indicate operators that mandate a whitespace character to be followed.




Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr authored Jan 16, 2025
1 parent 8e1b1a3 commit 1c4f7c9
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions userspace/libsinsp/filter/parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,14 @@ class RE2;
// UnaryOperator ::= 'exists'
// NumOperator ::= '<=' | '<' | '>=' | '>'
// StrOperator ::= '==' | '=' | '!='
// | 'bcontains' | 'bstartswith'
// | 'contains'
// | 'bcontains ' | 'bstartswith '
// | 'contains '
// | 'endswith'
// | 'glob'
// | 'icontains'
// | 'startswith'
// | 'regex'
// | 'glob '
// | 'icontains '
// | 'iglob '
// | 'startswith '
// | 'regex '
// ListOperator ::= 'in' | 'intersects' | 'pmatch'
// FieldTransformerVal ::= 'val('
// FieldTransformerType ::= 'tolower(' | 'toupper(' | 'b64(' | 'basename(' | 'len('
Expand Down

0 comments on commit 1c4f7c9

Please sign in to comment.