You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Kivik to access a database running on the latest version of pouchdb-server. I'd like to be able to run case-insensitive regex queries. Consider this example:
Having a document with { "title": "Foo Bar Baz" }, the above query will succeed and return the document. However, I'd still like to find it if my regex was bar (lower case).
Using (?i)bar as a regex yield the following error:
Bad Request: Invalid regular expression: /(?i)bar/: Invalid group
Edit: I assume this might instead be an issue with PouchDB itself, rather than with Kivik?
The text was updated successfully, but these errors were encountered:
This does look like something from PouchDB-server. Kivik should just pass that string unprocessed, to the server directly. So any error that comes from parsing that string must come from the server.
I'm using Kivik to access a database running on the latest version of pouchdb-server. I'd like to be able to run case-insensitive regex queries. Consider this example:
Having a document with
{ "title": "Foo Bar Baz" }
, the above query will succeed and return the document. However, I'd still like to find it if my regex wasbar
(lower case).Using
(?i)bar
as a regex yield the following error:Edit: I assume this might instead be an issue with PouchDB itself, rather than with Kivik?
The text was updated successfully, but these errors were encountered: