pasaran/yate — Issue #3: Skip leading point in match jpath
Author: chestozo
Created: 2012-01-20 15:01:40+00:00
State: open

Now in `match` section in jpath we have to use a point prefix for node:

apply .node mode
match .node mode { ... }

But when I look at `match .node` I think we are taking current node and are matching on the `node` property of it, while in reality we want to match on current node, if it is a `node` node :)

So, I think we can skip leading point in `match` section, like so:

apply .node mode
match node mode { ... }