1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

fix headerRegexp

This commit is contained in:
Dawid Dziurla 2019-10-31 12:57:58 +01:00 committed by Jesse Duffield
parent 5f9de1f034
commit 2484ec9c11

View File

@ -9,7 +9,7 @@ import (
"github.com/sirupsen/logrus"
)
var headerRegexp = regexp.MustCompile(`(?m)^@@ -(\\d+)[^\\+]+\\+(\\d+)[^@]+@@(.*)$`)
var headerRegexp = regexp.MustCompile(`(?m)^@@ -(\d+)[^\+]+\+(\d+)[^@]+@@(.*)$`)
type PatchHunk struct {
header string