Lines Matching refs:match

176 					match = r.exec(className)
179 return match ? match[1] : null;
728 var match,
745 while ((match = XRegExp.exec(str, regex, pos)) != null)
747 var value = match.value
758 result[match.name] = value;
759 pos = match.index + match[0].length;
1004 function defaultAdd(match, regexInfo) argument
1006 return match[0];
1010 match = null,
1016 while((match = XRegExp.exec(code, regexInfo.regex, pos)) != null)
1018 var resultMatch = func(match, regexInfo);
1021 resultMatch = [new sh.Match(resultMatch, match.index, regexInfo.css)];
1024 pos = match.index + match[0].length;
1042 match = null
1049 if (match = gt.exec(m))
1051 m = match[1];
1052 suffix = match[2];
1226 function process(match, info) argument
1228 var code = match.code,
1231 offset = match.index + match.left.length,
1245 if (htmlScript.left != null && match.left != null)
1247 result = getMatches(match.left, htmlScript.left);
1248 offsetMatches(result, match.index);
1253 if (htmlScript.right != null && match.right != null)
1255 result = getMatches(match.right, htmlScript.right);
1256 offsetMatches(result, match.index + match[0].lastIndexOf(match.right));
1509 function getBrushNameCss(match) argument
1511 var result = match ? (match.brushName || brushName) : brushName;
1519 var match = matches[i],
1523 if (match === null || match.length === 0)
1526 matchBrushName = getBrushNameCss(match);
1528 result += wrapLinesWithCode(code.substr(pos, match.index - pos), matchBrushName + 'plain')
1529 + wrapLinesWithCode(match.value, matchBrushName + match.css)
1532 pos = match.index + match.length + (match.offset || 0);
1603 if (typeof(navigator) != 'undefined' && navigator.userAgent && navigator.userAgent.match(/MSIE/))