MCPcopy Index your code
hub / github.com/stemdeckapp/stemdeck / isValidFolderName

Function isValidFolderName

static/js/catalog.js:663–663  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

661const FOLDER_NAME_RE = /^[\p{L}\p{M}\p{N} '’&().,_-]+$/u;
662const MAX_FOLDER_NAME_LEN = 100;
663const isValidFolderName = (s) => FOLDER_NAME_RE.test(s);
664
665function openFolderEditor(folderId) {
666 const folder = folders.find((f) => f.id === folderId);

Callers 1

openFolderEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected