rem: } 
add: } 
context: function AddRegExpCases(regexp, pattern, index, matches_array ) {// prevent a runtime errorif ( regexp.exec(pattern) == null || matches_array == null ) {AddTestCase(regexp + ".exec(" + pattern +")",  matches_array,  regexp.exec(pattern) );return;}AddTestCase(regexp + ".exec(" + pattern +").length",  matches_array.length,  regexp.exec(pattern).length );AddTestCase(regexp + ".exec(" + pattern +").index",  index,  regexp.exec(pattern).index );AddTestCase(regexp + ".exec(" + pattern +").input",  pattern,  regexp.exec(pattern).input );AddTestCase(regexp + ".exec(" + pattern +").toString()",  matches_array.toString(),  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(  regexp + ".exec(" + pattern +")[" + matches +"]",  matches_array[matches],  regexp.exec(pattern)[matches] );  }*/}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/0b675418ba636127763e94e614e62364d6caa659/exec-002.js/buggy/js/tests/ecma_2/RegExp/exec-002.js