Code from LIKE clause in CYPHER Query
MATCH (n) WHERE n.name =~ '(?i).*SUBSTRING.*' RETURN n;
results in
Expected 1 to be a java.lang.String, but it was a java.lang.Long (cause of =~)
Is there a way to for strings case insensitive in all possible places?