Skip to content
Permalink
Browse files
Use correct variable to compile regex
  • Loading branch information
FSchumacher committed Mar 5, 2022
1 parent 3b03a0a commit 41b16e58ac95c7b43398c0f002e8b9748830022c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -381,7 +381,7 @@ protected boolean excPattern(String text) {
protected boolean excPatternWithJavaRegex(String text) {
this.USEFILE = true;
for (String excludePattern : this.excludePatternStrings) {
if (JMeterUtils.compilePattern(text).matcher(text).find()) {
if (JMeterUtils.compilePattern(excludePattern).matcher(text).find()) {
this.USEFILE = false;
return true;
}

0 comments on commit 41b16e5

Please sign in to comment.