From c16ecc52e3b7199a2279f006d3438b0020cd1602 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Thu, 4 Jan 2024 13:14:23 -0800 Subject: [PATCH] [chore][internal/filterset] Remove outdated and incorrect comment (#30259) **Description:** This comment was added with the original introduction of this component, but the functionality it's referencing was removed shortly thereafter (intentionally from what I can tell), and has no longer been in place for 3+ years. **Link to tracking Issue:** Resolves #30178 --- internal/filter/filterset/regexp/regexpfilterset.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/filter/filterset/regexp/regexpfilterset.go b/internal/filter/filterset/regexp/regexpfilterset.go index f8ff39c85591..0ab598076830 100644 --- a/internal/filter/filterset/regexp/regexpfilterset.go +++ b/internal/filter/filterset/regexp/regexpfilterset.go @@ -73,7 +73,6 @@ func (rfs *FilterSet) Matches(toMatch string) bool { } // addFilters compiles all the given filters and stores them as regexes. -// All regexes are automatically anchored to enforce full string matches. func (rfs *FilterSet) addFilters(filters []string) error { dedup := make(map[string]struct{}, len(filters)) for _, f := range filters {