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