Another regular expression related issue in Cypher. 1.5 GA. I'm using repositories extensively in my application. I'm extending the queries defined by the repository interfaces with my own using the @Query annotation.
It seems as if using parametrized regular expressions in these queries isn't working as I'd expect them to. Here's an example: @Query(value = "start n = node(1) match (n)-[:KNOWS]->(c) where c.a =~ /.*?{foo}.*?/ return c", type = QueryType.Cypher) Page<Foo> getConnectedNodes(@Param("foo") String foo, Pageable pageable); It looks like the stuff inside {} is parsed as part of the regular expression. I tried it with %foo as well. Looks like parameters inside regular expressions aren't being replaced at all. -TPP _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user