Skip to content

Commit

Permalink
Update RegExp \p{…} tests per Unicode 15.1.0
Browse files Browse the repository at this point in the history
Issue: tc39#3945
  • Loading branch information
mathiasbynens authored and ptomato committed Apr 17, 2024
1 parent 79e9b39 commit 830b17a
Show file tree
Hide file tree
Showing 445 changed files with 1,242 additions and 967 deletions.
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/ASCII.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `ASCII`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `ASCII_Hex_Digit`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Alphabetic`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down Expand Up @@ -746,6 +746,7 @@ const matchSymbols = buildString({
[0x02B740, 0x02B81D],
[0x02B820, 0x02CEA1],
[0x02CEB0, 0x02EBE0],
[0x02EBF0, 0x02EE5D],
[0x02F800, 0x02FA1D],
[0x030000, 0x03134A],
[0x031350, 0x0323AF]
Expand Down Expand Up @@ -1497,7 +1498,8 @@ const nonMatchSymbols = buildString({
[0x02B73A, 0x02B73F],
[0x02B81E, 0x02B81F],
[0x02CEA2, 0x02CEAF],
[0x02EBE1, 0x02F7FF],
[0x02EBE1, 0x02EBEF],
[0x02EE5E, 0x02F7FF],
[0x02FA1E, 0x02FFFF],
[0x03134B, 0x03134F],
[0x0323B0, 0x10FFFF]
Expand Down
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/Any.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Any`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
16 changes: 8 additions & 8 deletions test/built-ins/RegExp/property-escapes/generated/Assigned.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Assigned`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down Expand Up @@ -327,14 +327,13 @@ const matchSymbols = buildString({
[0x002E80, 0x002E99],
[0x002E9B, 0x002EF3],
[0x002F00, 0x002FD5],
[0x002FF0, 0x002FFB],
[0x003000, 0x00303F],
[0x002FF0, 0x00303F],
[0x003041, 0x003096],
[0x003099, 0x0030FF],
[0x003105, 0x00312F],
[0x003131, 0x00318E],
[0x003190, 0x0031E3],
[0x0031F0, 0x00321E],
[0x0031EF, 0x00321E],
[0x003220, 0x00A48C],
[0x00A490, 0x00A4C6],
[0x00A4D0, 0x00A62B],
Expand Down Expand Up @@ -719,6 +718,7 @@ const matchSymbols = buildString({
[0x02B740, 0x02B81D],
[0x02B820, 0x02CEA1],
[0x02CEB0, 0x02EBE0],
[0x02EBF0, 0x02EE5D],
[0x02F800, 0x02FA1D],
[0x030000, 0x03134A],
[0x031350, 0x0323AF],
Expand Down Expand Up @@ -1138,10 +1138,9 @@ const nonMatchSymbols = buildString({
[0x002E5E, 0x002E7F],
[0x002EF4, 0x002EFF],
[0x002FD6, 0x002FEF],
[0x002FFC, 0x002FFF],
[0x003097, 0x003098],
[0x003100, 0x003104],
[0x0031E4, 0x0031EF],
[0x0031E4, 0x0031EE],
[0x00A48D, 0x00A48F],
[0x00A4C7, 0x00A4CF],
[0x00A62C, 0x00A63F],
Expand Down Expand Up @@ -1436,7 +1435,8 @@ const nonMatchSymbols = buildString({
[0x02B73A, 0x02B73F],
[0x02B81E, 0x02B81F],
[0x02CEA2, 0x02CEAF],
[0x02EBE1, 0x02F7FF],
[0x02EBE1, 0x02EBEF],
[0x02EE5E, 0x02F7FF],
[0x02FA1E, 0x02FFFF],
[0x03134B, 0x03134F],
[0x0323B0, 0x0E0000],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Bidi_Control`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Bidi_Mirrored`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Case_Ignorable`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/Cased.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Cased`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_Casefolded`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_Casemapped`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_Lowercased`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_NFKC_Casefolded`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_Titlecased`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Changes_When_Uppercased`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/Dash.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Dash`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Default_Ignorable_Code_Point`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Deprecated`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/Diacritic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Diacritic`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
4 changes: 2 additions & 2 deletions test/built-ins/RegExp/property-escapes/generated/Emoji.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Emoji`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Emoji_Component`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 Mathias Bynens. All rights reserved.
// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
Expand All @@ -7,7 +7,7 @@ description: >
Unicode property escapes for `Emoji_Modifier`
info: |
Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests
Unicode v15.0.0
Unicode v15.1.0
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes]
includes: [regExpUtils.js]
Expand Down
Loading

0 comments on commit 830b17a

Please sign in to comment.