aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query/parser_test.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-07-28 01:20:01 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-07-28 01:20:01 -0400
commit3b8dcd30f5aca7624a22cff85a2f767d8d1fb583 (patch)
treedb01e57776ef9a8bc104403cd038e303c6831500 /pkg/query/parser_test.go
parent7b5cd075161bd4e1a05070d51cc64b38882ae74b (diff)
Add regex operator
Implemented regex operator using go flavored regular expressions. Added optimization to combine regex's in `OR` clauses.
Diffstat (limited to 'pkg/query/parser_test.go')
-rw-r--r--pkg/query/parser_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/query/parser_test.go b/pkg/query/parser_test.go
index 5f68006..2e85123 100644
--- a/pkg/query/parser_test.go
+++ b/pkg/query/parser_test.go
@@ -26,6 +26,7 @@ const (
OP_LE = query.OP_LE
OP_GE = query.OP_GE
OP_GT = query.OP_GT
+ OP_RE = query.OP_RE
)
func TestParse(t *testing.T) {