Lines Matching refs:index

480 	      pos = match.index + match[0].length;
1348 if (sticky && match && match.index !== pos) {
1395 pos = match.index + (match[0].length || 1);
1532 result.index + result[0].length : 0;
1898 nativ.replace.call(String(str).slice(match.index), r2, function () {
1922 if (this.global && !match[0].length && this.lastIndex > match.index) {
1923 this.lastIndex = match.index;
2150 if (match.index + match[0].length > lastLastIndex) {
2151 output.push(str.slice(lastLastIndex, match.index));
2152 if (match.length > 1 && match.index < str.length) {
2156 lastLastIndex = match.index + lastLength;
2237 return isQuantifierNext(match.input, match.index + match[0].length, flags) ? '' : '(?:)';
2245 return isQuantifierNext(match.input, match.index + match[0].length, flags) ? '' : '(?:)';
2264 var index = isNaN(match[1]) ? indexOf(this.captureNames, match[1]) + 1 : +match[1],
2265 endIndex = match.index + match[0].length;
2266 if (!index || index > this.captureNames.length) {
2270 …return '\\' + index + (endIndex === match.input.length || isNaN(match.input.charAt(endIndex)) ? ''…
2382 function Match(value, index, css) {
2386 this.index = index;
2469 var index = 0,
2478 …if (typeof resultMatch === 'string') resultMatch = [new _match.Match(resultMatch, match.index, reg…
2481 pos = match.index + match[0].length;
2493 if (m1.index < m2.index) return -1;else if (m1.index > m2.index) return 1;else {
2525 itemIEndPos = itemI.index + itemI.length;
2530index > itemIEndPos) break;else if (itemJ.index == itemI.index && itemJ.length > itemI.length) mat…
2805 …result += _this.wrapLinesWithCode(code.substr(pos, match.index - pos), matchBrushName + 'plain') +…
2807 pos = match.index + match.length + (match.offset || 0);
3438 matches[j].index += offset;
3446 offset = match.index + match.left.length,
3461 offsetMatches(matches, match.index);
3468 offsetMatches(matches, match.index + match[0].lastIndexOf(match.right));
3899 …if (match.here_doc != null) result.push(new Match(match.here_doc, match.index + match[0].indexOf(m…
3901 … if (match.full_tag != null) result.push(new Match(match.full_tag, match.index, 'preprocessor'));
3903 …if (match.end_tag != null) result.push(new Match(match.end_tag, match.index + match[0].lastIndexOf…
4053 return [new Match(match[0], match.index, css)];
5093 …result.push(new Match(str.substring(matchStart, pos + 2), matchStart + match.index, regexInfo.css)…
5115 …result.push(new Match(str.substring(matchStart, pos + 2), matchStart + match.index, regexInfo.css)…
5135 …result.push(new Match(str.substring(matchStart, str.length), matchStart + match.index, regexInfo.c…
5320 result.push(new Match(attributes.name, match.index + attributes.index, 'color1'));
5321 …result.push(new Match(attributes.value, match.index + attributes.index + attributes[0].indexOf(att…
5322 pos = attributes.index + attributes[0].length;
5326 …if (tag != null) result.push(new Match(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword'…