Home | History | Annotate | Download | only in String

Lines Matching refs:match

2  *  File Name:          String/match-004.js
11 * String.match( regexp )
20 * RegExp.prototype.exec repeatedly until there is no match. If there is a
21 * match with an empty string (in other words, if the value of
27 * Note that the match function is intentionally generic; it does not
32 * The match function should be intentionally generic, and not require
37 var SECTION = "String/match-004.js";
39 var TITLE = "String.prototype.match( regexp )";
49 Number.prototype.match = String.prototype.match;
104 string + ".match(" + regexp +")",
106 string.match(regexp) );
112 "( " + string + " ).match(" + str_regexp +").length",
114 string.match(regexp).length );
117 "( " + string + " ).match(" + str_regexp +").index",
119 string.match(regexp).index );
122 "( " + string + " ).match(" + str_regexp +").input",
124 string.match(regexp).input );
126 var limit = matches_array.length > string.match(regexp).length ?
128 string.match(regexp).length;
132 "( " + string + " ).match(" + str_regexp +")[" + matches +"]",
134 string.match(regexp)[matches] );
153 "( " + string + " ).match(" + str_regexp +").length",
155 string.match(regexp).length );
157 var limit = matches_array.length > string.match(regexp).length ?
159 string.match(regexp).length;
163 "( " + string + " ).match(" + str_regexp +")[" + matches +"]",
165 string.match(regexp)[matches] );