Lines Matching refs:match
105 var match = mode.terminators.exec(value);
106 if (!match)
108 if (match.index == 0)
109 return ['', match[0], false];
111 return [value.substr(0, match.index), match[0], false];
114 function keywordMatch(mode, match) { argument
115 var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0]
139 var match = mode.lexemsRe.exec(buffer);
140 while (match) {
141 result += escape(buffer.substr(last_index, match.index - last_index));
142 var keyword_match = keywordMatch(mode, match);
145 result += '<span class="'+ keyword_match[0] +'">' + escape(match[0]) + '</span>';
147 result += escape(match[0]);
150 match = mode.lexemsRe.exec(buffer);
400 result = result.replace(/^(\t+)/gm, function(match, p1, offset, s) { argument
405 if (!class_name.match(language)) {
479 if (!(node.nodeType == 3 && node.nodeValue.match(/\s+/)))