rem: regexp, str_regexp, string, index, matches_array ) { 
add: regexp, str_regexp, string, index, matches_array ) { 
context: function AddRegExpCases(    regexp, str_regexp, string, index, matches_array ) {  // prevent a runtime error    if ( regexp.exec(string) == null || matches_array == null ) {        AddTestCase(          string + ".match(" + regexp +")",          matches_array,          string.match(regexp) );        return;    }    AddTestCase(        "( " + string  + " ).match(" + str_regexp +").length",        matches_array.length,        string.match(regexp).length );    AddTestCase(        "( " + string + " ).match(" + str_regexp +").index",        index,        string.match(regexp).index );    AddTestCase(        "( " + string + " ).match(" + str_regexp +").input",        string,        string.match(regexp).input );    var limit = matches_array.length > string.match(regexp).length ?                matches_array.length :                string.match(regexp).length;    for ( var matches = 0; matches < limit; matches++ ) {        AddTestCase(            "( " + string + " ).match(" + str_regexp +")[" + matches +"]",            matches_array[matches],            string.match(regexp)[matches] );    }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f5797aeb2410e2259028142b87595fe71f03e531/match-002.js/buggy/js/tests/ecma_2/String/match-002.js