Re: git grep '(' = segfault
- From
Erik Faye-Lund <kusmabite@googlemail.com>
- Date
- Apr 27, 2009, 19:02 UTC
- Message-ID
- <40aa078e0904271202ye89ebf2wf417c623d8fe5689@mail.gmail.com>
- In-Reply-To
- <vpqfxfund0m.fsf@bauges.imag.fr>
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 <Matthieu.Moy@imag.fr> wrote:
Show 16 quoted lines
> Erik Faye-Lund <kusmabite@googlemail.com> 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