rename IsMatchEveryIndex to IsWildcard

This commit is contained in:
koba1t
2022-02-10 05:13:29 +09:00
parent 22f9daa3ab
commit 5ed96a34d7
4 changed files with 79 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ func (p *PathMatcher) filter(rn *RNode) (*RNode, error) {
return p.doSeq(rn)
}
if IsMatchEveryIndex(p.Path[0]) {
if IsWildcard(p.Path[0]) {
// match every elements (*)
return p.doMatchEvery(rn)
}