modified regex (#2033)

This commit is contained in:
Ankush Goel 2023-11-02 21:54:37 +05:30 committed by GitHub
parent 4106ce7bf0
commit b6469f23ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,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{"clickup"}) + `\b(pk_[0-9]{8}_[0-9A-Z]{32})\b`)
keyPat = regexp.MustCompile(`\b(pk_[0-9]{7,8}_[0-9A-Z]{32})\b`)
)
// Keywords are used for efficiently pre-filtering chunks.