replace std library regex engine with go-re2 (#1669)

This commit is contained in:
ahrav authored and GitHub committed 2024-12-20 09:53:01 -06:00
1 parent 906085fba6
commit a91c6717a0
44 files changed
+92 -77

No files matched your search

+1 -1
View File
@@ -4,7 +4,6 @@ import (
"fmt"
"os"
"path/filepath"
"regexp"
"testing"
"github.com/google/go-cmp/cmp"
@@ -12,6 +11,7 @@ import (
"github.com/spf13/viper"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
regexp "github.com/wasilibs/go-re2"
"github.com/zricethezav/gitleaks/v8/config"
"github.com/zricethezav/gitleaks/v8/report"