MATCH (n:myLabel) WHERE str(n.age)  =~ '.*2.*' RETURN n

Sent from mobile device

Am 28.01.2014 um 19:29 schrieb Alex Frieden <[email protected]>:

> Hi all,
> I can succesfully filter on not exact matches for strings: 
> 
> MATCH (n:myLabel) WHERE n.name  =~ '.*Dav.*' RETURN n
> 
> However I would like to be able to do this for strings:
> 
> MATCH (n:myLabel) WHERE n.age  =~ '.*2.*' RETURN n  
> 
> This doesn't work and complains obviously because of type mismatch.  Anyone 
> have a fix for this?  Thanks!
> -- 
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to