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: Timothy Brownawell
Subject: Re: [Monotone-devel] Excluding branches with shell patterns (was: ANNOUNCE: monotone 0.20)
Date: Thu, 07 Jul 2005 12:12:54 -0500

On Thu, 2005-07-07 at 11:25 -0500, Brian Downing wrote:
> 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...)

The globs are sent over the network, rather than being converted to
regexes first. IIRC there were security concerns about clients giving
nasty regexes that could use rediculous amounts of time/memory to check.

Tim






reply via email to

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