|
39 | 39 | // SingleCharEscape <- ["\\/bfnrt]
|
40 | 40 | // UnicodeEscape <- 'u' HexDigit HexDigit HexDigit HexDigit
|
41 | 41 | // HexDigit <- [0-9a-f]i
|
42 |
| -// CmpOp <- ( ">=" / ">" / "<=" / "<" / "!:" / "!=" / ":" / "=" ) |
| 42 | +// CmpOp <- ( ">=" / ">" / "<=" / "<" / "!:" / "!=" / ":" / "=" / "~" ) |
43 | 43 | // OneOfExpr <- '[' _ values:(OneOfValues)? _ ']'
|
44 | 44 | // OneOfValues <- head:OneOfValue tail:(_ ',' _ OneOfValue)*
|
45 | 45 | // _ <- [ \t\r\n]*
|
|
58 | 58 | //
|
59 | 59 | // # Field expression operators
|
60 | 60 | //
|
61 |
| -// | Operator | Meaning | Supported types | |
62 |
| -// |----------------------|---------------|------------------------------| |
63 |
| -// | `:` or `=` | Equal, one of | `int64`, `float64`, `string` | |
64 |
| -// | `!=` or `!:` | Not equal | `int64`, `float64`, `string` | |
65 |
| -// | `>`, `>=`, `<`, `<=` | Comparison | `int64`, `float64` | |
| 61 | +// | Operator | Meaning | Supported types | |
| 62 | +// |----------------------|-------------------------------|------------------------------| |
| 63 | +// | `:` or `=` | Equal, one of | `int64`, `float64`, `string` | |
| 64 | +// | `!=` or `!:` | Not equal | `int64`, `float64`, `string` | |
| 65 | +// | `~` | “Like” or “contains” operator | `string` | |
| 66 | +// | `>`, `>=`, `<`, `<=` | Comparison | `int64`, `float64` | |
66 | 67 | //
|
67 | 68 | // # Boolean operators
|
68 | 69 | //
|
|
0 commit comments