build: support either stdlib or 3rd-party regexp (#1706)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-01-20 10:45:31 -06:00
1 parent 049f5b2435
commit 3f4d91fc22
47 files changed
+102 -123

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
package config
import (
regexp "github.com/wasilibs/go-re2"
"github.com/zricethezav/gitleaks/v8/regexp"
)
func anyRegexMatch(f string, res []*regexp.Regexp) bool {