Skip to content

Instantly share code, notes, and snippets.

@subvertallchris
Last active December 31, 2015 16:59
Show Gist options
  • Save subvertallchris/8017524 to your computer and use it in GitHub Desktop.
Save subvertallchris/8017524 to your computer and use it in GitHub Desktop.
jruby-1.7.4 :769 > Neo4j._query("start n=node(*) match (n) where n.username! =~ '(?i)chrISTOpher' return n").first[:n].username
=> "christopher"
u = Neo4j._query("start n=node(*) match (n) where n.subject! =~ '[a-z\s]+?at[a-z\s]+?' or n.username! =~ '[a-z]+?man[a-z]+?' return n").to_a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment