Ver Fonte

its the simple things (#2020)

Zachary Rice há 1 mês atrás
pai
commit
ca20267a84
2 ficheiros alterados com 4 adições e 2 exclusões
  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 (
 	"fmt"
 	"math"
-	"regexp"
 	"strings"
+
+	"github.com/zricethezav/gitleaks/v8/regexp"
 )
 
 var (

+ 2 - 1
detect/codec/unicode.go

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