Index: Source/WebCore/inspector/front-end/utilities.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/utilities.js (revision 98111) |
+++ Source/WebCore/inspector/front-end/utilities.js (working copy) |
@@ -976,10 +976,10 @@ |
} |
/** |
- * @param {string=} extraFlags |
+ * @param {string=} flags |
* @return {RegExp} |
*/ |
-function createSearchRegex(query, extraFlags) |
+function createSearchRegex(query, flags) |
{ |
// This should be kept the same as the one in ContentSearchUtils.cpp. |
var regexSpecialCharacters = "[](){}+-*.,?\\^$|"; |
@@ -990,7 +990,7 @@ |
regex += "\\"; |
regex += c; |
} |
- return new RegExp(regex, "i" + (extraFlags || "")); |
+ return new RegExp(regex, flags || ""); |
} |
/** |