diff: use extended regexp to find hunk headers
commit1883a0d3b7ad7c9de1ac790bda6f1a6181237439
authorJunio C Hamano <gitster@pobox.com>
Sat, 20 Sep 2008 06:52:49 +0000 (19 23:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 20 Sep 2008 06:52:49 +0000 (19 23:52 -0700)
tree1d9875ee590e3432779adbba0cfafa65dd667fa8
parentcd0843198fecf9faa6e82f6db15fc9c7ec31d3f4
diff: use extended regexp to find hunk headers

Using ERE elements such as "|" (alternation) by backquoting in BRE
is a GNU extension and should not be done in portable programs.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c