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