There is StackOverflow question 
<http://stackoverflow.com/questions/23371028/case-insensitive-regex-for-non-ascii-strings-does-not-work>
 
for regex case insensitivity support for non-ASCII strings. That question 
does not have any answer for 7 months.
Now I can reproduce that scenario with latest community version of Neo4j 
2.1.6, and there is still no support for case insensitivity for non-ASCII 
strings (at least with Ukrainian and Russian language).

Assume we have two nodes:
CREATE (n:{Name:"Ivan"})
CREATE (n:{Name:"Иван"})



Given that try to execute queries:
MATCH (n) WHERE n.Name =~ '(?i)Ivan.*'

-- returns 1 row

MATCH (n) WHERE n.Name =~ '(?i)ivan.*'

-- returns 1 row


MATCH (n) WHERE n.Name =~ '(?i)Иван.*'

-- returns 1 row 


MATCH (n) WHERE n.Name =~ '(?i)иван.*'

-- returns *0 rows* *(!)*

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to