Lines Matching refs:regexp
11 * String.match( regexp )
13 * If regexp is not an object of type RegExp, it is replaced with result
14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
19 * Otherwise, set the regexp.lastIndex property to 0 and invoke
22 * regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
34 var TITLE = "String.prototype.match( regexp )";
38 // the regexp argument is not a RegExp object
42 // [if regexp.global is true] set the regexp.lastIndex property to 0 and
45 // regexp.lastIndex is left unchanged) increment regexp.lastIndex by 1.
98 regexp, str_regexp, string, matches_array ) {
102 if ( string.match(regexp) == null || matches_array == null ) {
106 string.match(regexp) );
114 string.match(regexp).length );
116 var limit = matches_array.length > string.match(regexp).length ?
118 string.match(regexp).length;
124 string.match(regexp)[matches] );