rm regx from heklper

pull/2092/head
filip mertens 3 years ago
parent 3101212b6a
commit 5355f9a8ee
  1. 7
      libs/remix-ui/search/README.md
  2. 3
      libs/remix-ui/search/src/lib/components/results/SearchHelper.ts

@ -1,7 +0,0 @@
# remix-ui-vertical-icons-panel
React library for RemixIde vertical icons Panel
## Running unit tests
Run `nx test remix-ui-vertical-icons-panel` to execute the unit tests via [Jest](https://jestjs.io).

@ -104,8 +104,5 @@ export const replaceTextInLine = (str: string, searchResultLine: SearchResultLin
}).join(getEOL(str))
}
export function escapeRegExp(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
}

Loading…
Cancel
Save