MCPcopy Index your code
hub / github.com/webpack/mini-css-extract-plugin / quoteMeta

Function quoteMeta

src/utils.js:233–233  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

231 * @returns {string} quoted meta
232 */
233const quoteMeta = (str) => str.replace(/[-[\]\\/{}()*+?.^$|]/g, "\\$&");
234
235/**
236 * @param {string[]} items items

Callers 1

itemsToRegexpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…