Skip to content

Commit

Permalink
fix! for compile method
Browse files Browse the repository at this point in the history
  • Loading branch information
pachhh committed Apr 4, 2024
1 parent d95f868 commit b9e15e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamodb_matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b9e15e2

Please sign in to comment.