Remove unnecessary space in Vultr regex pattern (#2689)

* Fix incorrect regular expression with missing closing bracket

* Remove unnecessary space in Vultr regex pattern
This commit is contained in:
fml09 2024-04-11 09:12:55 +09:00 committed by GitHub
parent 08b6f90c81
commit c6b454e736
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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{"vultr"}) + ` \b([A-Z0-9]{36})\b`)
keyPat = regexp.MustCompile(detectors.PrefixRegex([]string{"vultr"}) + `\b([A-Z0-9]{36})\b`)
)
// Keywords are used for efficiently pre-filtering chunks.