mirror of https://github.com/tc39/test262.git
This commit is contained in:
parent
2be73ca5ea
commit
01550ab13a
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d with flags ug
|
||||
Compare range for digit class escape \d with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\d/ug;
|
||||
const matchingRange = /[0-9]/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d+ with flags ug
|
||||
Compare range for digit class escape \d+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\d+/ug;
|
||||
const matchingRange = /[0-9]+/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d+ with flags g
|
||||
Compare range for digit class escape \d+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\d+/g;
|
||||
const matchingRange = /[0-9]+/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Digit class escape, \\d with flags g
|
||||
Compare range for digit class escape \d with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\d/g;
|
||||
const matchingRange = /[0-9]/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D with flags ug
|
||||
Compare range for non-digit class escape \D with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\D/ug;
|
||||
const matchingRange = /[\0-\/:-\u{10FFFF}]/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D+ with flags ug
|
||||
Compare range for non-digit class escape \D+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\D+/ug;
|
||||
const matchingRange = /[\0-\/:-\u{10FFFF}]+/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D+ with flags g
|
||||
Compare range for non-digit class escape \D+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\D+/g;
|
||||
const matchingRange = /[\0-\/:-\uFFFF]+/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Digit class escape, \\D with flags g
|
||||
Compare range for non-digit class escape \D with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\D/g;
|
||||
const matchingRange = /[\0-\/:-\uFFFF]/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S with flags ug
|
||||
Compare range for non-whitespace class escape \S with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
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;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S+ with flags ug
|
||||
Compare range for non-whitespace class escape \S+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
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;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S+ with flags g
|
||||
Compare range for non-whitespace class escape \S+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
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;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non whitespace class escape, \\S with flags g
|
||||
Compare range for non-whitespace class escape \S with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
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;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W with flags ug
|
||||
Compare range for non-word class escape \W with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\W/ug;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W+ with flags ug
|
||||
Compare range for non-word class escape \W+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\W+/ug;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\u{10FFFF}]+/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W+ with flags g
|
||||
Compare range for non-word class escape \W+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\W+/g;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]+/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Non Word class escape, \\W with flags g
|
||||
Compare range for non-word class escape \W with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\W/g;
|
||||
const matchingRange = /[\0-\/:-@\[-\^`\{-\uFFFF]/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s with flags ug
|
||||
Compare range for whitespace class escape \s with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\s/ug;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s+ with flags ug
|
||||
Compare range for whitespace class escape \s+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\s+/ug;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s+ with flags g
|
||||
Compare range for whitespace class escape \s+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\s+/g;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Whitespace class escape, \\s with flags g
|
||||
Compare range for whitespace class escape \s with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\s/g;
|
||||
const matchingRange = /[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w with flags ug
|
||||
Compare range for word class escape \w with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\w/ug;
|
||||
const matchingRange = /[0-9A-Z_a-z]/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w+ with flags ug
|
||||
Compare range for word class escape \w+ with flags ug
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0x10FFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0x10FFFF]] });
|
||||
|
||||
const re = /\w+/ug;
|
||||
const matchingRange = /[0-9A-Z_a-z]+/ug;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w+ with flags g
|
||||
Compare range for word class escape \w+ with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\w+/g;
|
||||
const matchingRange = /[0-9A-Z_a-z]+/g;
|
||||
|
|
|
@ -4,9 +4,10 @@
|
|||
/*---
|
||||
esid: prod-CharacterClassEscape
|
||||
description: >
|
||||
Compare range for Word class escape, \\w with flags g
|
||||
Compare range for word class escape \w with flags g
|
||||
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.
|
||||
|
||||
CharacterClassEscape[U] ::
|
||||
|
@ -18,7 +19,7 @@ info: |
|
|||
W
|
||||
|
||||
21.2.2.12 CharacterClassEscape
|
||||
|
||||
|
||||
The production CharacterClassEscape :: d evaluates as follows:
|
||||
Return the ten-element set of characters containing the characters 0 through 9 inclusive.
|
||||
The production CharacterClassEscape :: D evaluates as follows:
|
||||
|
@ -36,7 +37,7 @@ features: [String.fromCodePoint]
|
|||
includes: [regExpUtils.js]
|
||||
---*/
|
||||
|
||||
const str = buildString({loneCodePoints: [], ranges: [[0, 0xFFFF]]});
|
||||
const str = buildString({ loneCodePoints: [], ranges: [[0, 0xFFFF]] });
|
||||
|
||||
const re = /\w/g;
|
||||
const matchingRange = /[0-9A-Z_a-z]/g;
|
||||
|
|
Loading…
Reference in New Issue