diff --git a/pkg/detectors/float/float.go b/pkg/detectors/float/float.go index 4be13b0ba4fb..211911932007 100644 --- a/pkg/detectors/float/float.go +++ b/pkg/detectors/float/float.go @@ -21,7 +21,7 @@ var ( client = common.SaneHttpClient() // Make sure that your group is surrounded in boundary characters such as below to reduce false positives. - keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"float"}) + `\b([a-zA-Z0-9-._+=/]{59,60})\b`) + keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"float"}) + `\b([a-f0-9]{16}[A-Za-z0-9+/]{42,43}=)`) ) // Keywords are used for efficiently pre-filtering chunks.