Warning: this is a prototype far from being ready!
This selector actually implements multiple strategies:
globregex
See the examples for better introduction
Which returns which subsets of the graphs have been matched.
Qml1..
{ name: "Jeremy", nick: "whyrusleeping"}
Qml2
{ name: "Juan", nick: "jdag"}
Qml3
{
name: "Nicola",
friends: [
{'/': "Qml1.."},
{'/': "Qml2.."}
]
}
.which('regex', cid3, '.*/name', callback)
//[ 'friends/0/name', 'friends/1/name' ]
.which('glob', cid3, '**/name', callback)
//[ 'friends/0/name', 'friends/1/name' ]
MIT