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