don't wrap string.filter pattern

This commit is contained in:
Joel Wetzell
2025-12-20 10:59:33 -06:00
parent fb9c0bc657
commit b27bfb1a6d

View File

@@ -49,7 +49,7 @@ func init() {
return nil, fmt.Errorf("http.request.filter pattern must be a string")
}
patternRegexp, err := regexp.Compile(fmt.Sprintf("^%s$", patternString))
patternRegexp, err := regexp.Compile(patternString)
if err != nil {
return nil, err