printBugNumber (28686);  var str = 'foo "bar" baz'; reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"), "str.replace failed.");  exitFunc ("test");  
printBugNumber (28686);  var str = 'foo "bar" baz'; reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"), "str.replace failed.");  exitFunc ("test");  
function test(){        enterFunc ("test");    printBugNumber (28686);        var str = 'foo "bar" baz';    reportCompare ('foo \\"bar\\" baz', str.replace(/([\'\"])/g, "\\$1"),                   "str.replace failed.");        exitFunc ("test");    }
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-28686.js/buggy/js/tests/ecma_3/RegExp/regress-28686.js