The regex matching was initially modelled after the SPARQL way of doing it... and still is :) So you apply filters on groups of PatternNode:s instead of on a PatternNode itself. So you have to instantiate PatternNode:s belonging to a group to be able to accomplish this.
We should really add regex matching directly on PatternNode instances as well and I think that it's a minor fix really. I'll look into such a feature! 2010/3/25 Olivier Barbecot <[email protected]> > Hi neo4j people, > > I'm using the graph-matching component and would like to find a subgraph > query in my global graph. > So far so good, the graph-matching component does it very well. But now, i > need to have some of my pattern nodes "properties values" to be evaluated > as > regular expressions over the node properties of an eventual match. > > For instance: > I have a patternode with a property "name" = to "B". > I want to get all nodes where this property value match "B" as a reg. > expression. (ie include a B) > > I notice there is a regexppattern class in the project. I went through the > code but i guess this is not intended to do what i want. > By the way, could you give me a short explanation of what this is used for > as well as patterngroup which is a bit obscure to me at the moment. > > Thanks a lot for your help, > > Regards > _______________________________________________ > Neo mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Neo Technology, www.neotechnology.com _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

