Lines Matching refs:match

56             match: String.prototype.match,  property in AnonymousFunction5b121b410100.nativ
235 match,
245match = fixed.exec.call(t.pattern, pattern); // Fixed `exec` here allows use of named backreferenc…
246 if (match && match.index === pos) {
248 output: t.handler.call(context, match, scope),
249 match: match property in AnonymousFunction5b121b410100.result
281 String.prototype.match = (on ? fixed : nativ).match; method in String
344 match,
349 …if (nativ.match.call(flags, duplicateFlags)) { // Don't use test/exec because they would update la…
371 pos += (tokenResult.match[0].length || 1);
374 match = nativ.exec.call(nativeTokens[scope], pattern.slice(pos));
375 if (match) {
376 output.push(match[0]);
377 pos += match[0].length;
518 match;
520 match = fixed.exec.call(r2, str); // Fixed `exec` required for `lastIndex` fix, etc.
521 if (sticky && match && match.index !== pos) {
522 match = null;
525 regex.lastIndex = match ? r2.lastIndex : 0;
527 return match;
553 match;
554 while ((match = self.exec(str, regex, pos))) {
555 callback.call(context, match, ++i, str, regex);
556 pos = match.index + (match[0].length || 1);
672 addMatch = function (match) { argument
673 matches.push(item.backref ? (match[item.backref] || "") : match[0]);
859 rewrite = function (match, paren, backref) { argument
869 return match;
913 var match, name, r2, origLastIndex, i;
917 match = nativ.exec.apply(this, arguments);
918 if (match) {
921 if (!compliantExecNpcg && match.length > 1 && lastIndexOf(match, "") > -1) {
925 nativ.replace.call(String(str).slice(match.index), r2, function () {
929 match[i] = undef;
936 for (i = 1; i < match.length; ++i) {
939 match[name] = match[i];
944 if (this.global && !match[0].length && (this.lastIndex > match.index)) {
945 this.lastIndex = match.index;
951 return match;
975 fixed.match = function (regex) { function
979 var result = nativ.match.apply(this, arguments);
1119 self.forEach(str, separator, function (match) { argument
1120 if ((match.index + match[0].length) > lastLastIndex) { // != `if (match[0].length)`
1121 output.push(str.slice(lastLastIndex, match.index));
1122 if (match.length > 1 && match.index < str.length) {
1123 Array.prototype.push.apply(output, match.slice(1));
1125 lastLength = match[0].length;
1126 lastLastIndex = match.index + lastLength;
1152 function (match, scope) { argument
1154 if (match[1] === "B" && scope === defaultScope) {
1155 return match[0];
1157 throw new SyntaxError("invalid escape " + match[0]);
1166 function (match) { argument
1169 return match[1] ? "[\\s\\S]" : "\\b\\B";
1176 function (match) { argument
1178 …return nativ.test.call(quantifier, match.input.slice(match.index + match[0].length)) ? "" : "(?:)";
1185 function (match) { argument
1186 … var index = isNaN(match[1]) ? (lastIndexOf(this.captureNames, match[1]) + 1) : +match[1],
1187 endIndex = match.index + match[0].length;
1189 throw new SyntaxError("backreference to undefined group " + match[0]);
1193 endIndex === match.input.length || isNaN(match.input.charAt(endIndex)) ? "" : "(?:)"
1200 function (match) { argument
1202 …return nativ.test.call(quantifier, match.input.slice(match.index + match[0].length)) ? "" : "(?:)";
1231 function (match) { argument
1232 if (!isNaN(match[1])) {
1234 throw new SyntaxError("can't use integer as capture name " + match[0]);
1236 this.captureNames.push(match[1]);
1247 function (match, scope) { argument
1248 …if (!(scope === defaultScope && /^[1-9]/.test(match[1]) && +match[1] <= this.captureNames.length) …
1249 match[1] !== "0") {
1250 … throw new SyntaxError("can't use octal escape or backreference to undefined group " + match[0]);
1252 return match[0];
1457 match = r.exec(className)
1460 return match ? match[1] : null;
2009 var match,
2026 while ((match = XRegExp.exec(str, regex, pos)) != null)
2028 var value = match.value
2039 result[match.name] = value;
2040 pos = match.index + match[0].length;
2285 function defaultAdd(match, regexInfo) argument
2287 return match[0];
2291 match = null,
2297 while((match = XRegExp.exec(code, regexInfo.regex, pos)) != null)
2299 var resultMatch = func(match, regexInfo);
2302 resultMatch = [new sh.Match(resultMatch, match.index, regexInfo.css)];
2305 pos = match.index + match[0].length;
2323 match = null
2330 if (match = gt.exec(m))
2332 m = match[1];
2333 suffix = match[2];
2507 function process(match, info) argument
2509 var code = match.code,
2512 offset = match.index + match.left.length,
2526 if (htmlScript.left != null && match.left != null)
2528 result = getMatches(match.left, htmlScript.left);
2529 offsetMatches(result, match.index);
2534 if (htmlScript.right != null && match.right != null)
2536 result = getMatches(match.right, htmlScript.right);
2537 offsetMatches(result, match.index + match[0].lastIndexOf(match.right));
2790 function getBrushNameCss(match) argument
2792 var result = match ? (match.brushName || brushName) : brushName;
2800 var match = matches[i],
2804 if (match === null || match.length === 0)
2807 matchBrushName = getBrushNameCss(match);
2809 result += wrapLinesWithCode(code.substr(pos, match.index - pos), matchBrushName + 'plain')
2810 + wrapLinesWithCode(match.value, matchBrushName + match.css)
2813 pos = match.index + match.length + (match.offset || 0);
2884 if (typeof(navigator) != 'undefined' && navigator.userAgent && navigator.userAgent.match(/MSIE/))