Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug854124.js
blob: 505ed2dfb670ffb329142968f0cd132bff889952 [
file
] [
log
] [
blame
]
// Don't assert.
"p"
.
match
(
/(p)/
);
assertEq
(
RegExp
.
$1
,
"p"
);
assertEq
(
RegExp
.
$2
,
""
);
"x\ny\n"
.
replace
(
/(^\n*)/
,
""
);
assertEq
(
RegExp
.
$1
,
""
);
assertEq
(
RegExp
.
$2
,
""
);