Comments (4)
The Erlang regex syntax can be a little unusual. In this case, I think the issue is that, as described in Square Brackets and Character Classes, you need to set UTF mode
to get the behaviour you expect.
Changing the query to:
{
"selector": {
"lastname": {
"$regex": "(*UTF8)(?i)^m[ΓΌ]t"
}
}
}
should give you the correct result.
from couchdb.
Awesome, thanks a lot π
from couchdb.
The Erlang regex syntax can be a little unusual. In this case, I think the issue is that, as described in Square Brackets and Character Classes, you need to set
UTF mode
to get the behaviour you expect.
Is this mentioned in the docs?
from couchdb.
the docs layout isn't great but we do link to the Erlang syntax for reference in https://docs.couchdb.org/en/stable/api/database/find.html#condition-operators.
from couchdb.
Related Issues (20)
- "apache.jfrog.io" no more available. Where are the .deb packages now? HOT 2
- Installing from yum repo fails repomd.xml signature could not be verified for couchdb HOT 2
- Couchdb stoped writing to the journald logs HOT 4
- How do I customize port and service name for couchdb during silent installation in Windows HOT 6
- Extent log message about conflicted shards HOT 3
- Requiring support for leading wildcard search for nouveau HOT 3
- Inherited Permissions Not Applied in CouchDB's Windows Installer HOT 8
- No documentation on mem3 options in CouchDB
- Sign out from Admin HOT 5
- Invoking update function when changing document in Fauxton HOT 3
- HTTP call inside validation function in design document? HOT 2
- CouchDB replications cannot be configured with 'heartbeat'
- Slow couchdb after many queries HOT 29
- Add "exp" to mandatory JWT claims HOT 4
- Nouveau trial run observations HOT 2
- Unexpected JWT auth response "badmatch" HOT 7
- Verify CouchDB Installation fails with create view HOT 4
- replicator session auth cannot handle multiple Set-Cookie headers in /_session request HOT 1
- Create new Fauxton release and update couch HOT 1
- Compactor case clause error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from couchdb.