MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / matchRegex

Function matchRegex

src/lib/console.js:592–594  ·  view source on GitHub ↗

* * @param {string} str * @returns {IterableIterator }

(str)

Source from the content-addressed store, hash-verified

590 * @returns {IterableIterator<RegExpMatchArray>}
591 */
592 function matchRegex(str) {
593 return str.matchAll(/%(?<!%%)[oOsdifc]/g);
594 }
595 }
596
597 /**

Callers 1

formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected