From: Jack Adrian Zappa Date: Wed, 08 Feb 2017 17:11:29 GMT Subject: Re: Trying to use xfuncname without success. Message-ID: In-Reply-To: <271989d5-c383-0c0d-bfcb-f4118f9fa2aa@web.de> Thanks Rene, but you seem to have missed the point. NOTHING is working. No matter what I put there, it doesn't seem to get matched. Just to be sure, I tested your regex and again it didn't work. Someone on the SO site stated they could get it to work on FreeBSD and I'm on Windows, so this might be a platform thing. Can anyone else on Windows please confirm? Thanks, A On Tue, Feb 7, 2017 at 6:18 PM, René Scharfe wrote: > Am 07.02.2017 um 20:21 schrieb Jack Adrian Zappa: >> >> I'm trying to setup a hunk header for .natvis files. For some reason, >> it doesn't seem to be working. I'm following their instructions from >> here, which doesn't say much in terms of restrictions of the regex, >> such as, is the matched item considered the hunk header or do I need a >> group? I have tried both with no success. This is what I have: >> >> [diff "natvis"] >> xfuncname = "^[\\\t ]* > > The extra "\\" allow backslashes to be used for indentation as well as > between Type and Name, which is probably not what you want. And your > expression only matches single-char Name attributes. Try: > > xfuncname = "^[\t ]* > René