Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff: fix "multiple regexp" semantics to find hunk header comment
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index a733010170f489cb6945a0ec4bd98727303651d6..1bcbbd5bb1e67dc238fe4f773024d49c1f8d2af7 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-1414,7
+1414,7
@@
static const struct funcname_pattern_entry builtin_funcname_pattern[] = {
{ "pascal",
"^((procedure|function|constructor|destructor|interface|"
"implementation|initialization|finalization)[ \t]*.*)$"
- "
|
"
+ "
\n
"
"^(.*=[ \t]*(class|record).*)$",
REG_EXTENDED },
{ "php", "^[\t ]*((function|class).*)", REG_EXTENDED },