Lines Matching refs:match

5 …gExp.prototype.indexOf){RegExp.indexOf=function(match,index){return match[0].indexOf(match[index])…  argument
15 …ce(pattern,function(match){var offset=arguments[arguments.length-2];if(match==="\r"||match==="\n")… argument
18match=matches[i];var offset=match.offset+linearOffsets[match.offset];var end=match.offset+match.le…
19 …rguments.callee(match.children);}})(matches);return matches;};Syntax.extractMatches=function(){var… argument
21 if(rule.debug){Syntax.log("extractMatches",rule,index,match[index],match);}
22match[index].length>0){if(rule.brush){matches.push(Syntax.Brush.buildTree(rule,match[index],RegExp…
24 return function(element,match,options){if(options.linkify===false) argument
27 ….length);};Syntax.Match.prototype.contains=function(match){return(match.offset>=this.offset)&&(mat… argument
34 return container;};Syntax.Match.prototype.canContain=function(match){if(match.expression.force){ret… argument
36 if(match.expression.only){return true;}
38 if(jQuery.isArray(this.expression.disallow)&&jQuery.inArray(match.expression.klass,this.expression.…
40 if(jQuery.isArray(this.expression.allow)&&jQuery.inArray(match.expression.klass,this.expression.all…
41 return false;};Syntax.Match.prototype.canHaveChild=function(match){var only=match.expression.only;i… argument
44 …plice=function(i,match){if(this.canHaveChild(match)){this.children.splice(i,0,match);match.parent=… argument
45 …;}else{return null;}};Syntax.Match.prototype.insert=function(match,whole){if(!this.contains(match)) argument
46 …var top=this,i=0;while(i<top.children.length){if(top.children[i].contains(match)){top=top.children…
47 return top._insertWhole(match);}else{return this._insert(match);}}
48 Syntax.Match.prototype._insertWhole=function(match){var parts=this.bisectAtOffsets([match.offset,ma… argument
50 …]){match.children=[];if(this.expression&&this.expression.owner){match.expression=this.expression.o…
51 …s[1].children.length;i+=1){var child=parts[1].children[i];if(match.canContain(child)){match.childr…
52 this.children.push(match);}
55 Syntax.Match.prototype.insertAtEnd=function(match){if(!this.contains(match)){Syntax.log("Syntax Err… argument
56 if(!this.canContain(match)){return null;}
57match.offset<child.offset){if(match.force){return this._insert(match);}else{return null;}}else if(
58 return null;}else{return this._splice(0,match);}};Syntax.Match.prototype._insert=function(match){if… argument
59 return this._splice(0,match);for(var i=0;i<this.children.length;i+=1){var child=this.children[i];if…
60 return this._splice(i,match);if(match.offset>=child.endOffset)
61 continue;if(child.contains(match)){return child._insert(match);}
62 var parts=match.bisectAtOffsets([child.offset,child.endOffset]);if(parts[0]){this._splice(i,parts[0…
64 if(parts[2]){match=parts[2]}else{return this;}}
65 this._splice(this.children.length,match);}
69 …var match=new Syntax.Match(start,offset-start,this.expression);match.value=this.value.substr(start…
70 prev=match;start=match.endOffset;parts.push(match);}
77 return parts;};Syntax.Match.prototype.split=function(pattern){var splits=[],match;while((match=patt…
81 …postfix="\\b";if(!pattern.match(/^\w/)){if(!pattern.match(/\w$/)){prefix=postfix="";}else{prefix="…
86match=pattern.exec(text))!==null){if(rule.matches){matches=matches.concat(rule.matches(match,rule)…
87 if(rule.incremental){pattern.lastIndex=match.index+1;}}
92 …ntax.Brush.prototype.getMatchesForRule=function(text,rule){var matches=[],match=null;if(typeof(rul…
97 …alMatches){var match=Syntax.brushes[rule.brush].buildTree(text,offset,additionalMatches);jQuery.ex…
101 …ull,function(container,match){if(match.expression){if(match.expression.process){container=match.ex… argument
102 if(match.expression.owner){var process=match.expression.owner.processes[match.expression.klass];if(…
110match=text.match(/-\*- mode: (.+?);(.*?)-\*-/i);var endOfSecondLine=text.indexOf("\n",text.indexOf…