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];    status =getStatus(s);       obj1 = new RegExp(s);     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: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2f24c874b354a3b7b7c044cb8b9c5c1cd9066618/15.10.4.1-2.js/clean/js/tests/ecma_3/RegExp/15.10.4.1-2.js