rem: status = 'Section E of test'; 
add: status = 'Section F of test'; 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);  status = 'Section A of test';  strA = 'a';  actual = str.replace(strA, strB);  expect = str.replace(new RegExp(strA), strB);  reportCompare(expect, actual, status);  status = 'Section B of test';  strA = 'x';  actual = str.replace(strA, strB);  expect = str.replace(new RegExp(strA), strB);  reportCompare(expect, actual, status);  status = 'Section C of test';  strA = undefined;  actual = str.replace(strA, strB);  expect = str.replace(new RegExp(strA), strB);  reportCompare(expect, actual, status);  status = 'Section D of test';  strA = null;  actual = str.replace(strA, strB);  expect = str.replace(new RegExp(strA), strB);  reportCompare(expect, actual, status); /*  * Note: 'Zabc' is the result we expect for 'abc'.replace('', 'Z').  *  * The string '' is supposed to be equivalent to new RegExp('') = //.  * The RegExp // means we should match the "empty string" conceived of  * at the beginning boundary of the word, before the first character.  */  status = 'Section E of test';  strA = cnEmptyString;  actual = str.replace(strA, strB);  expect = 'Zabc';  reportCompare(expect, actual, status);  status = 'Section F of test';  strA = cnEmptyString;  actual = str.replace(strA, strB);  expect = str.replace(new RegExp(strA), strB);  reportCompare(expect, actual, status);  exitFunc ('test');}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/aa725b6658e197de823f790128761423b7e15ece/regress-83293.js/buggy/js/tests/ecma_3/String/regress-83293.js