mirror of
https://github.com/prymitive/karma
synced 2026-08-23 11:56:20 +00:00
Merge pull request #83 from cloudflare/fix-regex-silence
Correctly anchor regex silences
This commit is contained in:
+1
-1
@@ -111,7 +111,7 @@ var UI = (function(params) {
|
||||
var pval;
|
||||
isRegex = false;
|
||||
if (values.length > 1) {
|
||||
pval = "(" + values.join("|") + ")";
|
||||
pval = "^(?:" + values.join("|") + ")$";
|
||||
isRegex = true;
|
||||
} else {
|
||||
pval = values[0];
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user