select() method uses an “URL pattern” to match nodes by their path. URL patterns match the structure of a path instead of the individual components. They support two match patterns which work as following:
*matches a path leaf:
/foo/bar, but not
/foo/bar/bazis not directly below
**matches anything recursively:
/foo/**will match any path starting with
/foo/, for example
Partial strings are not matched, i.e.
/f*o are invalid URL patterns.
? is also not supported for URL patterns.
The URL pattern syntax is not the same as the template path pattern syntax (see Templates.) Template path patterns use string matching with no knowledge of path structures.