Thanks @Alan Bateman <[email protected]>, will do. I'll CC you in the separate email.
On Mon, Nov 30, 2026, 4:01 AM Alan Bateman <[email protected]> wrote: > On 29/11/2026 22:57, David Alayachew wrote: > > Hello @core-libs-dev <[email protected]> <[email protected]>, > > I have been using PathMatcher to good success, but it is unfortunate that > there is only a .matches() method. Sometimes, I only want to match a > section of the path. > > I think it would make good sense to have the find() method added alongside > the matches() method, to allow partial path vs full path matching. > > Please let me know if there is a known, better way of doing this. > > > Assuming this is globbing then ** matches across directory boundaries, > useful for start/end matching. It's also easy to invoke matches with > components or sub-sections of path. > > Can you bring your use case to nio-dev to discuss? > > -Alan >
