It is common pattern called globstar, eg from https://en.wikipedia.org/wiki/Glob_(programming):
globstar: allows ** on its own as a name component to recursively match any number of layers of non-hidden directories.[10] Also supported by the JS libraries and Python's glob. so it is not only an Ant pattern. czw., 29 cze 2023 o 14:13 Gary Gregory <garydgreg...@gmail.com> napisał(a): > On Thu, Jun 29, 2023 at 7:20 AM Elliotte Rusty Harold > <elh...@ibiblio.org> wrote: > > > > On Mon, Jun 19, 2023 at 8:17 PM Gary Gregory <garydgreg...@gmail.com> > wrote: > > > > > I like the general idea of adding configurable include and exclude > features. > > > > > > I am uncertain about baking in the Ant-specific pattern formats in > > > Commons IO. Allowing the include and exclude feature to be provided > > > through some interfaces and/or lambdas would be fine, which would then > > > enable Ant to pass its pattern syntax processor. > > > > > > > FYI in an unrelated project I happened to notice that as of version > > 3.5 this is also the format supported by the Python glob function. > > It's not just ant and Maven. This is a fairly common thing to want. > > 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 am > assuming Ant is in maintenance mode so won't change in this area. > Augmenting the current wildcard filter? How would this affect > compatibility? > > Gary > > > > > > > > > -- > > 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 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- Sławomir Jaranowski