MCPcopy Index your code
hub / github.com/pandao/editor.md / cased

Function cased

lib/codemirror/addon/runmode/runmode.node.js:49–49  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

47 match: function(pattern, consume, caseInsensitive) {
48 if (typeof pattern == "string") {
49 var cased = function(str) {return caseInsensitive ? str.toLowerCase() : str;};
50 var substr = this.string.substr(this.pos, pattern.length);
51 if (cased(substr) == cased(pattern)) {
52 if (consume !== false) this.pos += pattern.length;

Callers 1

runmode.node.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…