From: Jeff King Date: Thu, 21 Feb 2008 00:01:16 GMT Subject: [PATCH 3/3] diff: fix java funcname pattern for solaris Message-ID: <20080221000115.GC6429@coredump.intra.peff.net> In-Reply-To: <20080220235944.GA6278@coredump.intra.peff.net> The Solaris regex library doesn't like having the '$' anchor inside capture parentheses. It rejects the match, causing t4018 to fail. Signed-off-by: Jeff King --- diff.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/diff.c b/diff.c index 58fe775..0f18ee9 100644 --- a/diff.c +++ b/diff.c @@ -1199,7 +1199,7 @@ static struct builtin_funcname_pattern { "new\\|return\\|switch\\|throw\\|while\\)\n" "^[ ]*\\(\\([ ]*" "[A-Za-z_][A-Za-z_0-9]*\\)\\{2,\\}" - "[ ]*([^;]*$\\)" }, + "[ ]*([^;]*\\)$" }, { "tex", "^\\(\\\\\\(sub\\)*section{.*\\)$" }, }; -- 1.5.4.2.247.g107bd