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