MCPcopy
hub / github.com/AstrBotDevs/AstrBot / normalizeLoose

Function normalizeLoose

dashboard/src/utils/pluginSearch.js:10–11  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

8 normalized.replace(/[\s_-]+/g, "").replace(/[()()【】\[\]{}·•]+/g, "");
9
10export const normalizeLoose = (s) =>
11 normalizeLooseFromNormalized(normalizeStr(s));
12
13const memoizeStringFn = (fn) => {
14 const cache = new Map();

Callers

nothing calls this directly

Calls 2

normalizeStrFunction · 0.85

Tested by

no test coverage detected