userdiff: fix typo in ruby and python word regexes
Both had an unclosed ] that ruined the safeguard against not matching a non-space char. Signed-off-by: NThomas Rast <trast@student.ethz.ch> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
Showing
想要评论请 注册 或 登录