ejdb-python
ejdb-python copied to clipboard
Regexp string matching seems not to work
The ejdb states that it's possible to use regexp for string matching, using the syntax described in http://ejdb.org/doc/ql/ql.html#simple-matching
I'm trying to achieve this using the python bindings, expecting to match the "Grenny" parrot.
>>> with ejdb.find('parrots2', {"name": "/G.*/"}) as cur:
... print("found %s parrots" % len(cur))
...
found 0 parrots
I wonder if I'm doing anything wrong, or if the regexp matching is really supported by the python bindings ?