Skip to content

Commit

Permalink
unnecessary boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
zricethezav committed Feb 9, 2024
1 parent e83f233 commit 62363f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/detectors/beamer/beamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 62363f2

Please sign in to comment.