Back out 97036ab72558 which inappropriately compared turds to third parties.
1 var re = /abc(WHOO!)?def/y;
2 var input = 'abcdefabcdefabcdef';
4 while ((match = re.exec(input)) !== null) {
6 assertEq(match[0], 'abcdef');
7 assertEq(match[1], undefined);