Re: [PATCH] userdiff: fix HTML hunk header regexp

2017-09-23 Thread Junio C Hamano
Ilya Kantor writes: > Current HTML header regexp doesn't match headers without attributes. > > So it fails to match ..., while ... matches. > The fix makes attributes optional. > The regexp is still far from perfect, but now it at least handles the > common case. > > Signed-off-by: Ilya Kantor >

[PATCH] userdiff: fix HTML hunk header regexp

2017-09-23 Thread Ilya Kantor
Current HTML header regexp doesn't match headers without attributes. So it fails to match ..., while ... matches. The fix makes attributes optional. The regexp is still far from perfect, but now it at least handles the common case. Signed-off-by: Ilya Kantor --- userdiff.c | 2 +- 1 file change