YOU ROCK! --- thanks! On Monday, September 22, 2014 6:08:23 PM UTC-4, Michael Hunger wrote: > > You probably have to double escape. > > try: > > RETURN "A Z. A Z" =~ '^[A-Z ]+\\. [A-Z ]+' > > and in regexps you don't have to escape spaces. > > > On Mon, Sep 22, 2014 at 11:07 PM, David Bigelow < > davidh...@simplifiedlogic.com <javascript:>> wrote: > >> stumped by neo4j's regexp matching... It seems like glorified string >> matching (simple cases) >> >> what if you want to use something like this?! >> >> match n where n.name =~ '^[A-Z\ ]+\.\ [A-Z\ ]+' return n.name; >> >> >> neo4j can't figure out what this is... everything should be escaped >> properly -- but I think cypher is NOT likely to properly use this as a >> pattern match. >> >> Is this even possible - or am I missing something? >> >> Dave >> >> -- >> 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 neo4j+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > >
-- 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.