summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_5/RegExp/regress-576828.js
blob: 45e97dc3b1edcec6ccbb42862e651884f233e91c (plain)
1
2
3
4
5
6
7
8
var re = /(z\1){3}/;
var str = 'zzz';
var actual = re.exec(str);
var expected = makeExpectedMatch(['zzz', 'z'], 0, str);
checkRegExpMatch(actual, expected);

if (typeof reportCompare == 'function')
    reportCompare(true, true);