Skip to content

Commit

Permalink
docs(userspace/libsinsp/filter/parser): update grammar doc
Browse files Browse the repository at this point in the history
  • Loading branch information
leogr authored Jan 16, 2025
1 parent 6c11056 commit 3303752
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions userspace/libsinsp/filter/parser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (C) 2022 The Falco Authors.
Copyright (C) 2025 The Falco Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -53,9 +53,15 @@ namespace re2 { class RE2; };
// Supported Check Operators (EBNF Syntax):
// UnaryOperator ::= 'exists'
// NumOperator ::= '<=' | '<' | '>=' | '>'
// StrOperator ::= '==' | '=' | '!=' | 'glob ' | 'contains '
// | 'icontains ' | 'startswith ' | 'endswith '
// ListOperator ::= 'intersects' | 'in' | 'pmatch'
// StrOperator ::= '==' | '=' | '!='
// | 'bcontains' | 'bstartswith'
// | 'contains'
// | 'endswith'
// | 'glob'
// | 'icontains'
// | 'startswith'
// | 'regex'
// ListOperator ::= 'in' | 'intersects' | 'pmatch'
//
// Tokens (Regular Expressions):
// Identifier ::= [a-zA-Z]+[a-zA-Z0-9_]*
Expand Down

0 comments on commit 3303752

Please # to comment.