mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
newline literal (#1718)
This commit is contained in:
1 parent
3f4d91fc22
commit
52b895a603
2 files changed
+142
-142
No files matched your search
@@ -28,7 +28,7 @@ const (
|
||||
// boundaries for the secret
|
||||
secretPrefixUnique = `\b(`
|
||||
secretPrefix = `[\x60'"\s=]{0,5}(`
|
||||
secretSuffix = `)(?:[\x60'"\s;]|$)`
|
||||
secretSuffix = `)(?:[\x60'"\s;\\n]|$)`
|
||||
)
|
||||
|
||||
func GenerateSemiGenericRegex(identifiers []string, secretRegex string, isCaseInsensitive bool) *regexp.Regexp {
|
||||
|
||||
+141
-141
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user