MCPcopy Create free account
hub / github.com/TruthHun/BookStack / prefixRE

Function prefixRE

static/editor.md/lib/codemirror/mode/lua/lua.js:21–23  ·  view source on GitHub ↗
(words)

Source from the content-addressed store, hash-verified

19 var indentUnit = config.indentUnit;
20
21 function prefixRE(words) {
22 return new RegExp("^(?:" + words.join("|") + ")", "i");
23 }
24 function wordRE(words) {
25 return new RegExp("^(?:" + words.join("|") + ")$", "i");
26 }

Callers 1

lua.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected