mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
1 parent
d2ffffecbd
commit
d6a828a530
3 files changed
+103
-103
No files matched your search
@@ -19,11 +19,11 @@ const (
|
||||
identifierCaseInsensitivePrefix = `[\w.-]{0,50}?(?i:`
|
||||
identifierCaseInsensitiveSuffix = `)`
|
||||
identifierPrefix = `[\w.-]{0,50}?(?:`
|
||||
identifierSuffix = `)(?:[ \t\w.-]{0,20})[\s'"|]{0,3}`
|
||||
identifierSuffix = `)(?:[ \t\w.-]{0,20})[\s'"]{0,3}`
|
||||
|
||||
// commonly used assignment operators or function call
|
||||
//language=regexp
|
||||
operator = `(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=|,)`
|
||||
operator = `(?:=|>|:{1,3}=|\|\||:|=>|\?=|,)`
|
||||
|
||||
// boundaries for the secret
|
||||
secretPrefixUnique = `\b(`
|
||||
|
||||
Reference in new issue
Block a user