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

Function wordRegexp

static/editor.md/lib/codemirror/mode/vbscript/vbscript.js:28–30  ·  view source on GitHub ↗
(words)

Source from the content-addressed store, hash-verified

26 var ERRORCLASS = 'error';
27
28 function wordRegexp(words) {
29 return new RegExp("^((" + words.join(")|(") + "))\\b", "i");
30 }
31
32 var singleOperators = new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]");
33 var doubleOperators = new RegExp("^((<>)|(<=)|(>=))");

Callers 1

vbscript.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected