Zachary Rice 1 месяц назад
Родитель
Сommit
ca20267a84
2 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      detect/codec/encodings.go
  2. 2 1
      detect/codec/unicode.go

+ 2 - 1
detect/codec/encodings.go

@@ -3,8 +3,9 @@ package codec
 import (
 import (
 	"fmt"
 	"fmt"
 	"math"
 	"math"
-	"regexp"
 	"strings"
 	"strings"
+
+	"github.com/zricethezav/gitleaks/v8/regexp"
 )
 )
 
 
 var (
 var (

+ 2 - 1
detect/codec/unicode.go

@@ -2,10 +2,11 @@ package codec
 
 
 import (
 import (
 	"bytes"
 	"bytes"
-	"regexp"
 	"strconv"
 	"strconv"
 	"strings"
 	"strings"
 	"unicode/utf8"
 	"unicode/utf8"
+
+	"github.com/zricethezav/gitleaks/v8/regexp"
 )
 )
 
 
 var (
 var (