rem: for (prop in obj2) { msg  = status +  quote(prop); actual = obj2[prop]; expect = obj1[prop]; reportCompare (expect, actual, msg); } 
add: reportCompare (obj1 + '', obj2 + '', status); 
context: function test() {  enterFunc ('test');   printBugNumber (bug);  printStatus (summary);  for (i in patterns)  {    s = patterns[i];        for (j in flags)    {      f = flags[j];      status = getStatus(s, f);        obj1 = new RegExp(s, f);       obj2 = new RegExp(obj1, undefined);  // see introduction to bug         for (prop in obj2)      {         msg  = status +  quote(prop);         actual = obj2[prop];         expect = obj1[prop];        reportCompare (expect, actual, msg);      }    }  }  exitFunc ('test');}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/2f24c874b354a3b7b7c044cb8b9c5c1cd9066618/15.10.4.1-4.js/buggy/js/tests/ecma_3/RegExp/15.10.4.1-4.js