Hi, As being discussed in [0] in OAK-5021 there are 2 different ways how globbing is currently defined in Oak vs in Sling. In Oak globbing is restricted to ** being 0-n path elements and * being 1 path element, while in Sling it is more generic in that * means 0-n characters excluding path boundaries.
IIUC then the GlobbingPathFilter is basically where Oak implements this and it looks like this is not yet exposed, as that's internal to observation filtering only. So my suggestion would be to simply extend the GlobbingPathFilter's globbing definition to match that of Sling. Any objections? Cheers, Stefan -- [0] - https://issues.apache.org/jira/browse/OAK-5021?focusedCommentId=15622005&pag e=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1 5622005 [1] - https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plu gins/observation/filter/GlobbingPathFilter.html