newline literal (#1718)

This commit is contained in:
Zachary Rice authored and GitHub committed 2025-01-20 21:37:19 -06:00
1 parent 3f4d91fc22
commit 52b895a603
2 files changed
+142 -142

No files matched your search

+1 -1
View File
@@ -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
View File
File diff suppressed because it is too large. Load diff