On my end, I'll make sure IO filters can interoperate with PathMatchers if they don't already...
Gary On Thu, Jun 29, 2023, 09:10 Elliotte Rusty Harold <elh...@ibiblio.org> wrote: > On Thu, Jun 29, 2023 at 8:12 AM Gary Gregory <garydgreg...@gmail.com> > wrote: > > > > On Thu, Jun 29, 2023 at 7:20 AM Elliotte Rusty Harold > > <elh...@ibiblio.org> wrote: > > > I'm not sure what you are proposing. Adding a new filter to IO that > > behaves like Ant? Adding a new filter to IO that behaves like Python? > > Are Ant and Python expressions _exactly_ the same_? Even if they are > > the same today, what happens when Python decides to change? > > I'm mostly interested in Maven, whose syntax is at least exactly the > same as Ant's used to be when the code was copied years ago. It's > probably still the same today. > > More generally, I think Python glob is evidence that developers want > and need something like this. That is, it's useful to have file globs > with ?, *, and ** but not full regexps. It seems that would be a > generally useful thing for Commons IO. > > Except now I have just discovered (via Wikipedia) that Java 7+ in fact > already has PathMatcher.getMatcher("glob") and maybe that will do all > of this? Need to explore further. > > -- > Elliotte Rusty Harold > elh...@ibiblio.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > >