Mathias Bynens 2018-11-06 15:24:07 -08:00
parent 2be73ca5ea
commit 01550ab13a
No known key found for this signature in database
GPG Key ID: B6A1C4401A39330B
24 changed files with 120 additions and 96 deletions

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Digit class escape, \\d with flags ug Compare range for digit class escape \d with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\d/ug; const re = /\d/ug;
const matchingRange = /[0-9]/ug; const matchingRange = /[0-9]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Digit class escape, \\d+ with flags ug Compare range for digit class escape \d+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\d+/ug; const re = /\d+/ug;
const matchingRange = /[0-9]+/ug; const matchingRange = /[0-9]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Digit class escape, \\d+ with flags g Compare range for digit class escape \d+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\d+/g; const re = /\d+/g;
const matchingRange = /[0-9]+/g; const matchingRange = /[0-9]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Digit class escape, \\d with flags g Compare range for digit class escape \d with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\d/g; const re = /\d/g;
const matchingRange = /[0-9]/g; const matchingRange = /[0-9]/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Digit class escape, \\D with flags ug Compare range for non-digit class escape \D with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\D/ug; const re = /\D/ug;
const matchingRange = /[\0-\/:-\u{10FFFF}]/ug; const matchingRange = /[\0-\/:-\u{10FFFF}]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Digit class escape, \\D+ with flags ug Compare range for non-digit class escape \D+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\D+/ug; const re = /\D+/ug;
const matchingRange = /[\0-\/:-\u{10FFFF}]+/ug; const matchingRange = /[\0-\/:-\u{10FFFF}]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Digit class escape, \\D+ with flags g Compare range for non-digit class escape \D+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\D+/g; const re = /\D+/g;
const matchingRange = /[\0-\/:-\uFFFF]+/g; const matchingRange = /[\0-\/:-\uFFFF]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Digit class escape, \\D with flags g Compare range for non-digit class escape \D with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\D/g; const re = /\D/g;
const matchingRange = /[\0-\/:-\uFFFF]/g; const matchingRange = /[\0-\/:-\uFFFF]/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non whitespace class escape, \\S with flags ug Compare range for non-whitespace class escape \S with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\S/ug; const re = /\S/ug;
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]/ug; const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non whitespace class escape, \\S+ with flags ug Compare range for non-whitespace class escape \S+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\S+/ug; const re = /\S+/ug;
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]+/ug; const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\u{10FFFF}]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non whitespace class escape, \\S+ with flags g Compare range for non-whitespace class escape \S+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\S+/g; const re = /\S+/g;
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]+/g; const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non whitespace class escape, \\S with flags g Compare range for non-whitespace class escape \S with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\S/g; const re = /\S/g;
const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]/g; const matchingRange = /[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uFEFE\uFF00-\uFFFF]/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Word class escape, \\W with flags ug Compare range for non-word class escape \W with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\W/ug; const re = /\W/ug;
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]/ug; const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Word class escape, \\W+ with flags ug Compare range for non-word class escape \W+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\W+/ug; const re = /\W+/ug;
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]+/ug; const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Word class escape, \\W+ with flags g Compare range for non-word class escape \W+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\W+/g; const re = /\W+/g;
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]+/g; const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Non Word class escape, \\W with flags g Compare range for non-word class escape \W with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\W/g; const re = /\W/g;
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]/g; const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Whitespace class escape, \\s with flags ug Compare range for whitespace class escape \s with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\s/ug; const re = /\s/ug;
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/ug; const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Whitespace class escape, \\s+ with flags ug Compare range for whitespace class escape \s+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\s+/ug; const re = /\s+/ug;
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/ug; const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Whitespace class escape, \\s+ with flags g Compare range for whitespace class escape \s+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\s+/g; const re = /\s+/g;
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/g; const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Whitespace class escape, \\s with flags g Compare range for whitespace class escape \s with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\s/g; const re = /\s/g;
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/g; const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Word class escape, \\w with flags ug Compare range for word class escape \w with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\w/ug; const re = /\w/ug;
const matchingRange = /[0-9A-Z_a-z]/ug; const matchingRange = /[0-9A-Z_a-z]/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Word class escape, \\w+ with flags ug Compare range for word class escape \w+ with flags ug
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
const re = /\w+/ug; const re = /\w+/ug;
const matchingRange = /[0-9A-Z_a-z]+/ug; const matchingRange = /[0-9A-Z_a-z]+/ug;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Word class escape, \\w+ with flags g Compare range for word class escape \w+ with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\w+/g; const re = /\w+/g;
const matchingRange = /[0-9A-Z_a-z]+/g; const matchingRange = /[0-9A-Z_a-z]+/g;

View File

@ -4,9 +4,10 @@
/*--- /*---
esid: prod-CharacterClassEscape esid: prod-CharacterClassEscape
description: > description: >
Compare range for Word class escape, \\w with flags g Compare range for word class escape \w with flags g
info: | info: |
This is a generated test, please checkout https://github.com/bocoup/test262-regexp-generator This is a generated test. Please check out
https://github.com/bocoup/test262-regexp-generator
for any changes. for any changes.
CharacterClassEscape[U] :: CharacterClassEscape[U] ::
@ -18,7 +19,7 @@ info: |
W W
21.2.2.12 CharacterClassEscape 21.2.2.12 CharacterClassEscape
The production CharacterClassEscape :: d evaluates as follows: The production CharacterClassEscape :: d evaluates as follows:
Return the ten-element set of characters containing the characters 0 through 9 inclusive. Return the ten-element set of characters containing the characters 0 through 9 inclusive.
The production CharacterClassEscape :: D evaluates as follows: The production CharacterClassEscape :: D evaluates as follows:
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
includes: [regExpUtils.js] includes: [regExpUtils.js]
---*/ ---*/
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]}); const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
const re = /\w/g; const re = /\w/g;
const matchingRange = /[0-9A-Z_a-z]/g; const matchingRange = /[0-9A-Z_a-z]/g;