actual = 'captures: ' + g.exec('1234561') + '; RegExp.leftContext: "' + RegExp.leftContext + 
actual = 'captures: ' + g.exec('1234561') + '; RegExp.leftContext: "' + RegExp.leftContext + 
function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);  var c;  var s = '123456';  print('Test global flag.');  var g = /(1)/g;  expect = 'captures: 1,1; RegExp.leftContext: ""; RegExp.rightContext: "234561"';  actual = 'captures: ' + g.exec('1234561') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/g.exec("1234561") first call');  expect = 'captures: 1,1; RegExp.leftContext: "123456"; RegExp.rightContext: ""';  actual = 'captures: ' + g.exec('1234561') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/g.exec("1234561") second call');  var y = /(1)/y;    print('Test sticky flag.');  var y = /(1)/y;  expect = 'captures: 1,1; RegExp.leftContext: ""; RegExp.rightContext: "234561"';  actual = 'captures: ' + y.exec('1234561') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/y.exec("1234561") first call');  expect = 'captures: null; RegExp.leftContext: ""; RegExp.rightContext: "234561"';  actual = 'captures: ' + y.exec('1234561') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/y.exec("1234561") second call');  var y = /(1)/y;    reportCompare(expect, actual, summary);  y = /(1)/y;  expect = 'captures: 1,1; RegExp.leftContext: ""; RegExp.rightContext: "123456"';  actual = 'captures: ' + y.exec('1123456') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/y.exec("1123456") first call');  expect = 'captures: 1,1; RegExp.leftContext: "1"; RegExp.rightContext: "23456"';  actual = 'captures: ' + y.exec('1123456') +     '; RegExp.leftContext: "' + RegExp.leftContext +     '"; RegExp.rightContext: "' + RegExp.rightContext + '"';  reportCompare(expect, actual, summary + ' - /(1)/y.exec("1123456") second call');  var y = /(1)/y;    reportCompare(expect, actual, summary);  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/yflag.js/clean/js/tests/js1_7/regexp/yflag.js