Sign in
webkit
/
WebKit
/
fff5469af9e21121a01bc52b64d66a2e93b51665
/
.
/
JSTests
/
es6
/
RegExp_syntax_extensions_invalid_character_escapes.js
blob: 59df50a4d8e2181c666535fdce408e4dd2ab1865 [
file
] [
log
] [
blame
]
function
test
()
{
return
/\z/
.
exec
(
"\\z"
)[
0
]
===
"z"
&&
/[\z]/
.
exec
(
"[\\z]"
)[
0
]
===
"z"
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);