From 670bfbf62686ebe9f2ab332733d851a62b6950b0 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Mon, 4 Sep 2017 05:48:17 -0400 Subject: PLT-7518 Added unit tests for channel linking (#7352) * PLT-7518 Added unit tests for channel linking * Removed unused escaping function --- webapp/utils/utils.jsx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'webapp/utils/utils.jsx') diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index b99f7b967..aa98a9872 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -242,10 +242,6 @@ export function extractFirstLink(text) { return ''; } -export function escapeRegExp(string) { - return string.replace(/([.*+?^=!:${}()|[\]/\\])/g, '\\$1'); -} - // Taken from http://stackoverflow.com/questions/1068834/object-comparison-in-javascript and modified slightly export function areObjectsEqual(x, y) { let p; -- cgit v1.2.3-1-g7c22