We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff95660 + caa60cf commit f3f3453Copy full SHA for f3f3453
handler.py
@@ -150,7 +150,7 @@ def execute(self):
150
151
if self.bodyregexmatch is not None:
152
regex = re.compile(self.bodyregexmatch)
153
- value = 1 if regex.match(response_body) else 0
+ value = 1 if regex.search(response_body) else 0
154
result['ResponseBodyRegexMatch'] = value
155
156
if self.statuscodematch is not None:
0 commit comments