monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Excluding branches with shell patterns (was: ANNOUN


From: Brian Downing
Subject: Re: [Monotone-devel] Excluding branches with shell patterns (was: ANNOUNCE: monotone 0.20)
Date: Thu, 7 Jul 2005 11:25:09 -0500
User-agent: Mutt/1.2.5i

On Thu, Jul 07, 2005 at 10:17:58AM -0500, Timothy Brownawell wrote:
> > With (Boost's) regular expressions, I could say
> > 
> >   foo\.(?!bar)\.*
> > 
> > to match, say "foo.abc", but not "foo.bar". How do I do this
> > with shell patterns now?
> 
> I don't think you can. There seems to be some code for specifying
> excluded patterns, but it's not complete.

Any reason not to have a --regex option?  Especially since the code is
already in Boost?

(I can see the attraction of globs, as they are a lot easier for most
people to understand, but regular expressions are attractive too...)

-bcd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]