diff options
| author | Jeff King <peff@peff.net> | 2008-02-20 19:01:16 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-02-20 20:21:43 -0800 |
| commit | 14a5c7c19351a7db56803c9086b133fe131f55f6 (patch) | |
| tree | 4b38915006ab5081ba52b50ea5372cebbbf83dd8 /diff.c | |
| parent | t3404: use configured shell instead of /bin/sh (diff) | |
| download | git-14a5c7c19351a7db56803c9086b133fe131f55f6.tar.gz git-14a5c7c19351a7db56803c9086b133fe131f55f6.zip | |
diff: fix java funcname pattern for solaris
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
| -rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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{.*\\)$" }, }; |
