MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / wordRE

Function wordRE

static/plugins/codemirror/mode/lua/lua.js:24–26  ·  view source on GitHub ↗
(words)

Source from the content-addressed store, hash-verified

22 return new RegExp("^(?:" + words.join("|") + ")", "i");
23 }
24 function wordRE(words) {
25 return new RegExp("^(?:" + words.join("|") + ")$", "i");
26 }
27 var specials = wordRE(parserConfig.specials || []);
28
29 // long list of standard functions from lua manual

Callers 1

lua.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected