Home | History | Annotate | Download | only in js

Lines Matching refs:captures

607     // If the number of captures is two then there are no explicit captures in
608 // the regexp, just the implicit capture that captures the whole match. In
673 // Compute the parameter list consisting of the match, captures, index,
675 // The number of captures plus one for the match.
679 // No captures, only the match, which is always valid.
744 // GetSubstitution(matched, str, position, captures, replacement)
749 function GetSubstitution(matched, string, position, captures, replacement) {
752 var capturesLength = captures.length;
797 var capture = captures[scaledIndex];
909 var captures = new InternalArray();
913 captures[n] = capture;
918 parameters[j] = captures[j];
925 replacement = GetSubstitution(matched, string, position, captures,
960 // on the captures array of the last successful match and the subject string
972 if (length <= 2) return ''; // There were no captures.