The Tor Browser
/ file comparison
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
revisions
annotate
diff
comparison
raw
comparison: js/src/jit-test/tests/basic/testStaticsInRegExp.js
js/src/jit-test/tests/basic/testStaticsInRegExp.js
branch
TOR_BUG_3246
changeset 7
129ffea94266
equal
deleted
inserted
replaced
-1:000000000000
0:cfbb4db3af2a
1
'abcdef'.replace(/a(\w+)c/, function() {
2
assertEq(RegExp.lastMatch, 'abc');
3
'123456'.replace(/1(\d+)3/, function() {
4
assertEq(RegExp.lastMatch, '123');
5
});
6
assertEq(RegExp.lastMatch, '123');
7
});
8
assertEq(RegExp.lastMatch, 'abc');
9