Home | History | Annotate | Download | only in RegExp

Lines Matching refs:regexp

2  *  File Name:          RegExp/octal-003.js
12 * WHY: the original test expected the regexp /.\011/
17 * regexp should be parsed as a single token: it is the octal escape sequence
20 * So the regexp consists of 2 characters: <any-character>, <'\t'>.
21 * There is no match between the regexp and the string.
23 * See the testcase ecma_3/RegExp/octal-002.js for an elaboration.
26 var SECTION = "RegExp/octal-003.js";
28 var TITLE = "RegExp patterns that contain OctalEscapeSequences";
38 regexp, str_regexp, pattern, str_pattern, index, matches_array ) {
42 if ( regexp.exec(pattern) == null || matches_array == null ) {
44 regexp + ".exec(" + str_pattern +")",
46 regexp.exec(pattern) );
53 regexp.exec(pattern).length );
58 regexp.exec(pattern).index );
63 escape(regexp.exec(pattern).input) );
68 escape(regexp.exec(pattern).toString()) );
70 var limit = matches_array.length > regexp.exec(pattern).length
72 : regexp.exec(pattern).length;
78 escape(regexp.exec(pattern)[matches]) );