From: Erik Faye-Lund Date: Mon, 27 Apr 2009 19:02:31 GMT Subject: Re: git grep '(' = segfault Message-ID: <40aa078e0904271202ye89ebf2wf417c623d8fe5689@mail.gmail.com> In-Reply-To: Yeah, thanks for explaining. But isn't this functionality kind of redundant since we have the -E switch? As far as I can see, "git grep -E "(bar|boz)" should do the same thing as "git grep -e foo --and '(' -e bar --or -e boz ')'"... On Mon, Apr 27, 2009 at 8:54 PM, Matthieu Moy wrote: > Erik Faye-Lund writes: > >> $ git grep '(' >> fatal: unmatched parenthesis > > try this: git grep -e '(' > > The idea is that you can do things like > > git grep -e foo --and '(' -e bar --or -e boz ')' > > to build a boolean expression of expressions. > > -- > Matthieu > -- Erik "kusma" Faye-Lund kusmabite@gmail.com (+47) 986 59 656