From 62363f28c0f97b4e3041cdaeb94394c4a014b20d Mon Sep 17 00:00:00 2001 From: Zachary Rice Date: Fri, 9 Feb 2024 15:15:53 -0600 Subject: [PATCH] unnecessary boundary --- pkg/detectors/beamer/beamer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/detectors/beamer/beamer.go b/pkg/detectors/beamer/beamer.go index 6ad7f582ece4..c9600a0ba84f 100644 --- a/pkg/detectors/beamer/beamer.go +++ b/pkg/detectors/beamer/beamer.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{"beamer"}) + `\b([a-zA-Z0-9_+/]{45}=)\b`) + keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"beamer"}) + `\b([a-zA-Z0-9_+/]{45}=)`) ) // Keywords are used for efficiently pre-filtering chunks.