Sign in
webkit
/
WebKit
/
3171213d84ddc1cb3289622b38ea4b8b7d089653
/
.
/
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"
);