mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
replace std library regex engine with go-re2 (#1669)
This commit is contained in:
1 parent
906085fba6
commit
a91c6717a0
44 files changed
+92
-77
No files matched your search
+1
-1
@@ -3,12 +3,12 @@ package config
|
||||
import (
|
||||
_ "embed"
|
||||
"fmt"
|
||||
"regexp"
|
||||
"sort"
|
||||
"strings"
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/viper"
|
||||
regexp "github.com/wasilibs/go-re2"
|
||||
)
|
||||
|
||||
//go:embed gitleaks.toml
|
||||
|
||||
Reference in new issue
Block a user