Sign in
webkit
/
WebKit
/
73c7b7b08069136c6d85537e1fc3427dd8fa1d44
/
.
/
LayoutTests
/
js
/
script-tests
/
regexp-range-bound-ffff.js
blob: ce7b5f5f2fe76298193c2791d8e6865f677b5f64 [
file
] [
log
] [
blame
]
description
(
'Test for rdar:/68455379, a case-insensitive regex containing a character class containing a range with an upper bound of \uFFFF can lead to an infinite-loop.'
);
shouldBe
(
'("A".match(/[\u0001-\uFFFF]/i) == "A")'
,
'true'
);