From ca20267a84aa1fa2c2a9c1a13cdb50cafb48eeb0 Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Thu, 8 Jan 2026 14:48:47 -0600 Subject: [PATCH] its the simple things (#2020) --- detect/codec/encodings.go | 3 ++- detect/codec/unicode.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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 (