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.

Co-authored-by: Jason Dellaluce <[email protected]>
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
2 people authored and poiana committed Jan 16, 2025
1 parent b0786f0 commit f216920
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 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'
// | 'endswith'
// | 'glob'
// | 'icontains'
// | 'startswith'
// | 'regex'
// | 'bcontains ' | 'bstartswith '
// | 'contains '
// | 'endswith '
// | 'glob '
// | 'icontains '
// | 'iglob '
// | 'startswith '
// | 'regex '
// ListOperator ::= 'in' | 'intersects' | 'pmatch'
// FieldTransformerVal ::= 'val('
// FieldTransformerType ::= 'tolower(' | 'toupper(' | 'b64(' | 'basename(' | 'len('
Expand Down

0 comments on commit f216920

Please sign in to comment.