context: function AddRegExpCases(    regexp, str_regexp, pattern, str_pattern, length, index, matches_array ) {    // prevent a runtime error    if ( regexp.exec(pattern) == null || matches_array == null ) {        AddTestCase(            str_regexp + ".exec(" + pattern +")",            matches_array,            regexp.exec(pattern) );        return;    }    AddTestCase(        str_regexp + ".exec(" + str_pattern +").length",        length,        regexp.exec(pattern).length );    AddTestCase(        str_regexp + ".exec(" + str_pattern +").index",        index,        regexp.exec(pattern).index );    AddTestCase(        str_regexp + ".exec(" + str_pattern +").input",        pattern,        regexp.exec(pattern).input );    for ( var matches = 0; matches < matches_array.length; matches++ ) {        AddTestCase(            str_regexp + ".exec(" + str_pattern +")[" + matches +"]",            matches_array[matches],            regexp.exec(pattern)[matches] );    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/f5797aeb2410e2259028142b87595fe71f03e531/hex-001.js/clean/js/tests/ecma_2/RegExp/hex-001.js