-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query for unicode range \u036E-\u036F returns non-matching results #688
Comments
#332 is probably related... Also note that |
A query for |
Oh, I just got lucky because the city names happened to contain some of the letters in the hexadecimal numbers in the range. Never mind me. |
So based on U+1EBF, I'm getting the following three place=city nodes (with proper unicode regex support):
|
I note that even with the escaping fixed, I still get (different) non-sensical results:
|
Right, I've noticed the missing backslash when revisiting #332. In the end it doesn't make a whole lot of a difference, since the underlying regular expression implementation doesn't handle ranges as expected. I hope you received some link to a github gist to try out another implementation that works a bit better. |
I've encountered this issue myself. It's baffling that character ranges can match characters outside the range.. How does this happen? |
The following query for a range of two consecutive unicode values returns 5,747 city nodes, however, none of the returned results actually appear to contain either character.
Queries for each character individually each return zero results:
The text was updated successfully, but these errors were encountered: