Skip to content

Commit 23e0fda

Browse files
committed
fix regex to non matching group
1 parent 3bfea73 commit 23e0fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/clioptions/suiteselection/feature_filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,5 @@ func includeNonFeatureGateTest(name string) bool {
7878
}
7979

8080
var (
81-
featureGateRegex = regexp.MustCompile(`\[(OCP)?FeatureGate:([^]]*)\]`)
81+
featureGateRegex = regexp.MustCompile(`\[(?:OCP)?FeatureGate:([^]]*)\]`)
8282
)

0 commit comments

Comments
 (0)