mirror of
https://github.com/tc39/test262.git
synced 2025-07-01 11:14:52 +02:00
The optimizations from commit e558b29b were never incorporated into the upstream test generator. This does so now. As far as I can tell, the changes to the Unicode ranges are purely cosmetic. Some are formatted as 6-digit hex numbers instead of 4-digit. Others move the low-surrogates range 0xDC00-0xDCFF to the beginning of the array, but the union of the ranges is still the same.
RegExp Generator
This tool generates the tests in the
test/built-ins/RegExp/CharacterClassEscapes/
folder from Unicode data.
To run:
$ npm install # before first run
$ npm run clean # optional
$ npm run build