Home | History | Annotate | Download | only in String

Lines Matching refs:lastIndex

19  *  Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
45 // set the value of lastIndex
59 re.lastIndex = 0;
61 "re = " + re +" [lastIndex is " + re.lastIndex+"]",
68 re.lastIndex = s.length;
71 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " +
77 re.lastIndex = s.lastIndexOf("0");
80 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " +
86 re.lastIndex = s.lastIndexOf("0") + 1;
89 "re = /([\d]{5})([-\ ]?[\d]{4})?$/; re.lastIndex = " +