regexp-range-bound-ffff-expected.txt 329 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
Test for rdar:/68455379, a case-insensitive regex containing a character class containing a range with an upper bound of ? can lead to an infinite-loop.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

PASS ("A".match(/[-?]/i) == "A") is true
PASS successfullyParsed is true