summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug605754-regexp.js
blob: 9acd314377966b79de0a845fc24ee90db07acc15 (plain)
1
2
var result = "foobarbaz".replace(/foo(bar)?bar/, "$1");
assertEq(result, "baz");