From b9e15e21caac1e6641f7fb47c55a009cfe540e68 Mon Sep 17 00:00:00 2001 From: pachhhh Date: Thu, 4 Apr 2024 04:24:03 -0600 Subject: [PATCH] fix! for compile method --- dynamodb_matcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dynamodb_matcher.go b/dynamodb_matcher.go index bb4b92b..d2ec6b6 100644 --- a/dynamodb_matcher.go +++ b/dynamodb_matcher.go @@ -48,7 +48,7 @@ func (m DynamoDBMatcher) Match(r *http.Request) bool { var valueCheck string - rgx, err := regexp.MustCompile(m.Regex) + rgx, err := regexp.Compile(m.Regex) patternWww := regexp.MustCompile(`(?:www)`) if err != nil {