diff --git a/detect/codec/encodings.go b/detect/codec/encodings.go index d5b5eec2..e97d153c 100644 --- a/detect/codec/encodings.go +++ b/detect/codec/encodings.go @@ -3,8 +3,9 @@ package codec import ( "fmt" "math" - "regexp" "strings" + + "github.com/zricethezav/gitleaks/v8/regexp" ) var ( diff --git a/detect/codec/unicode.go b/detect/codec/unicode.go index 69f7a84a..5738e32d 100644 --- a/detect/codec/unicode.go +++ b/detect/codec/unicode.go @@ -2,10 +2,11 @@ package codec import ( "bytes" - "regexp" "strconv" "strings" "unicode/utf8" + + "github.com/zricethezav/gitleaks/v8/regexp" ) var (