rem: regexp, str_regexp, pattern, str_pattern, index, matches_array ) { 
add: regexp, str_regexp, pattern, str_pattern, index, matches_array ) { 
context: function AddRegExpCases(    regexp, str_regexp, pattern, str_pattern, index, matches_array ) {    // prevent a runtime error    if ( regexp.exec(pattern) == null || matches_array == null ) {        AddTestCase(            regexp + ".exec(" + str_pattern +")",            matches_array,            regexp.exec(pattern) );        return;    }    AddTestCase(        str_regexp + ".exec(" + str_pattern +").length",        matches_array.length,        regexp.exec(pattern).length );    AddTestCase(        str_regexp + ".exec(" + str_pattern +").index",        index,        regexp.exec(pattern).index );    AddTestCase(        str_regexp + ".exec(" + str_pattern +").input",        escape(pattern),        escape(regexp.exec(pattern).input) );    AddTestCase(        str_regexp + ".exec(" + str_pattern +").toString()",        matches_array.toString(),        escape(regexp.exec(pattern).toString()) );    var limit = matches_array.length > regexp.exec(pattern).length                ? matches_array.length                : regexp.exec(pattern).length;    for ( var matches = 0; matches < limit; matches++ ) {        AddTestCase(            str_regexp + ".exec(" + str_pattern +")[" + matches +"]",            matches_array[matches],            escape(regexp.exec(pattern)[matches]) );    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4218d0f5950d93cb2609d946f6af7ce1b2e89575/octal-003.js/buggy/js/tests/ecma_2/RegExp/octal-003.js