It'll be implemented using OP_REGEXP by the parser.
---
 lib/qlang.py |    1 -
 lib/query.py |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/lib/qlang.py b/lib/qlang.py
index 6508cf4..ef1ee46 100644
--- a/lib/qlang.py
+++ b/lib/qlang.py
@@ -46,7 +46,6 @@ OP_TRUE = "?"
 # operator-specific value
 OP_EQUAL = "="
 OP_NOT_EQUAL = "!="
-OP_GLOB = "=*"
 OP_REGEXP = "=~"
 OP_CONTAINS = "=[]"
 
diff --git a/lib/query.py b/lib/query.py
index 79441a8..92b8175 100644
--- a/lib/query.py
+++ b/lib/query.py
@@ -390,7 +390,6 @@ class _FilterCompilerHelper:
     qlang.OP_NOT_EQUAL:
       (_OPTYPE_BINARY, [(flags, compat.partial(_WrapNot, fn), valprepfn)
                         for (flags, fn, valprepfn) in _EQUALITY_CHECKS]),
-    qlang.OP_GLOB: (_OPTYPE_BINARY, NotImplemented),
     qlang.OP_REGEXP: (_OPTYPE_BINARY, [
       (None, lambda lhs, rhs: rhs.search(lhs), _PrepareRegex),
       ]),
-- 
1.7.3.5

Reply via email to