From: Junio C Hamano Date: Tue, 06 Dec 2011 21:15:44 GMT Subject: Re: [PATCH] userdiff: allow * between cpp funcname words Message-ID: <7vfwgxflkv.fsf@alter.siamese.dyndns.org> In-Reply-To: <201112062117.57690.trast@student.ethz.ch> Thomas Rast writes: > Actually (sadly) I'll have to revise it. It doesn't match much of C++ > either, and I haven't yet come up with a reasonable regex that > matches, say, > > foo::Bar::t& Baz::operator<<( > > which I would call ludicrous, but it's valid C++. Heh, I'd rather not see us go that route, which would either end up implementing a C++ parser or reverting the heuristics back to "non-blank at the beginning of the line" that was already reasonably useful.