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

Function wordRegexp

static/editor.md/lib/codemirror/mode/octave/octave.js:15–17  ·  view source on GitHub ↗
(words)

Source from the content-addressed store, hash-verified

13
14CodeMirror.defineMode("octave", function() {
15 function wordRegexp(words) {
16 return new RegExp("^((" + words.join(")|(") + "))\\b");
17 }
18
19 var singleOperators = new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]");
20 var singleDelimiters = new RegExp('^[\\(\\[\\{\\},:=;]');

Callers 2

octave.jsFile · 0.70
tokenBaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected