rem: expect = 'TypeError: /a/.exec("b") has no properties'; 
add: expect = /TypeError: \/a\/\.exec\("b"\) (has no properties|is null)/; 
context: 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');}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/3a5aa9814f858ff07e34f580bd4b35d7ec0b0957/regress-372364.js/buggy/js/tests/js1_5/Regress/regress-372364.js