Johan Corveleyn wrote on Thu, May 04, 2017 at 13:26:30 +0200:
> On Thu, May 4, 2017 at 10:16 AM, Daniel Shahaf <d...@daniel.shahaf.name> 
> wrote:
> > Doug Robinson wrote on Wed, May 03, 2017 at 15:54:50 -0400:
> ...
> >> Not seeing it - at least not yet.  In Perl the RE needed to handle
> >> this would be one of the duals, e.g. "/trunk/iota(|/.*)" - the
> >> either/or with nothing on the left and "/.*" on the right.  It really
> >> is a dual case.  I know of no better syntax.  Since we're working on
> >> this as a wildcard I don't see an alternative.
> >
> > Off the top of my head, we could have [/trunk/iota/***] and
> > [/trunk/iota/**] with different meanings (the former applies to
> > a /trunk/iota file, the latter doesn't).  Does anyone else (besides Doug
> > and I) have ideas here?
> 
> Hmm, /*** doesn't look like something I'd remember easily, if I wanted
> to use that feature as an svn admin.

I cribbed the syntax from zsh and rsync, which both define a "***" token
in their glob expressions.

(In zsh, *** is like ** but recurses into symlinks-to-directories as
well.  In rsync, *** is similar to ** but can match zero path components
in the construct "foo/***)

Reply via email to