expect = 'TypeError: /a/.exec("b") has no properties'; 
expect = /TypeError: \/a\/\.exec\("b"\) (has no properties|is null)/; 
function test(){  enterFunc ('test');  printBugNumber(BUGNUMBER);  printStatus (summary);  print('See Also bug 365891');  expect = 'TypeError: a(1) has no properties';  try  {    function a(){return null;} a(1)[0];  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  expect = 'TypeError: /a/.exec("b") has no properties';  try  {    /a/.exec("b")[0];  }  catch(ex)  {    actual = ex + '';  }  reportCompare(expect, actual, summary);  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/01ea4d0e7fed8bb945bef1474d27aa6314506d54/regress-372364.js/clean/js/tests/js1_5/Regress/regress-372364.js