Skip to content

Commit b9e15e2

Browse files
committed
fix! for compile method
1 parent d95f868 commit b9e15e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamodb_matcher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func (m DynamoDBMatcher) Match(r *http.Request) bool {
4848

4949
var valueCheck string
5050

51-
rgx, err := regexp.MustCompile(m.Regex)
51+
rgx, err := regexp.Compile(m.Regex)
5252
patternWww := regexp.MustCompile(`(?:www)`)
5353

5454
if err != nil {

0 commit comments

Comments
 (0)