Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
util: Remove unused escape_regexp function.
Anders Kaseorg4466716f6cc2
diff --git a/static/js/util.js b/static/js/util.jsindex f8798ff84dc..9261b51d011 100644--- a/static/js/util.js+++ b/static/js/util.js@@ -151,11 +151,6 @@ exports.make_strcmp = function () {};exports.strcmp = exports.make_strcmp();-exports.escape_regexp = function (string) {- // code from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions- return string.replace(/([.*+?^=!:${}()|[\]/\\])/g, "\\$1");-};-exports.array_compare = function util_array_compare(a, b) {if (a.length !== b.length) {return false;