From: Junio C Hamano Date: Mon, 01 Aug 2016 21:35:33 GMT Subject: Re: git grep -P is multiline for negative lookahead/behind Message-ID: In-Reply-To: Michael Giuffrida writes: > Is this expected behavior, and if so, why/where is this documented? I do not think "git grep" was designed to do multi-line anything, with or without lookahead. If you imagine that the implementation attempts its matches line-by-line, does that explain the observed symptom?