185 lines
9.7 KiB
JavaScript

// Copyright 2025 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Test that Unicode property escapes for `RGI_Emoji` (property of strings)
match Emoji 17.0 strings.
info: |
Generated by https://github.com/mathiasbynens/caniunicode
esid: sec-static-semantics-unicodematchproperty-p
features: [regexp-unicode-property-escapes, regexp-v-flag]
includes: [regExpUtils.js]
---*/
testPropertyOfStrings({
regExp: /^\p{RGI_Emoji}+$/v,
expression: "\\p{RGI_Emoji}",
matchStrings: [
"\u{1F468}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FF}",
"\u{1F468}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F468}\u{1F3FE}",
"\u{1F468}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FB}",
"\u{1F468}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FC}",
"\u{1F468}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FD}",
"\u{1F468}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F468}\u{1F3FE}",
"\u{1F469}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FF}",
"\u{1F469}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F469}\u{1F3FE}",
"\u{1F469}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FB}",
"\u{1F469}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FC}",
"\u{1F469}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FD}",
"\u{1F469}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F469}\u{1F3FE}",
"\u{1F46F}\u{1F3FB}",
"\u{1F46F}\u{1F3FB}\u200D\u2640\uFE0F",
"\u{1F46F}\u{1F3FB}\u200D\u2642\uFE0F",
"\u{1F46F}\u{1F3FC}",
"\u{1F46F}\u{1F3FC}\u200D\u2640\uFE0F",
"\u{1F46F}\u{1F3FC}\u200D\u2642\uFE0F",
"\u{1F46F}\u{1F3FD}",
"\u{1F46F}\u{1F3FD}\u200D\u2640\uFE0F",
"\u{1F46F}\u{1F3FD}\u200D\u2642\uFE0F",
"\u{1F46F}\u{1F3FE}",
"\u{1F46F}\u{1F3FE}\u200D\u2640\uFE0F",
"\u{1F46F}\u{1F3FE}\u200D\u2642\uFE0F",
"\u{1F46F}\u{1F3FF}",
"\u{1F46F}\u{1F3FF}\u200D\u2640\uFE0F",
"\u{1F46F}\u{1F3FF}\u200D\u2642\uFE0F",
"\u{1F6D8}",
"\u{1F93C}\u{1F3FB}",
"\u{1F93C}\u{1F3FB}\u200D\u2640\uFE0F",
"\u{1F93C}\u{1F3FB}\u200D\u2642\uFE0F",
"\u{1F93C}\u{1F3FC}",
"\u{1F93C}\u{1F3FC}\u200D\u2640\uFE0F",
"\u{1F93C}\u{1F3FC}\u200D\u2642\uFE0F",
"\u{1F93C}\u{1F3FD}",
"\u{1F93C}\u{1F3FD}\u200D\u2640\uFE0F",
"\u{1F93C}\u{1F3FD}\u200D\u2642\uFE0F",
"\u{1F93C}\u{1F3FE}",
"\u{1F93C}\u{1F3FE}\u200D\u2640\uFE0F",
"\u{1F93C}\u{1F3FE}\u200D\u2642\uFE0F",
"\u{1F93C}\u{1F3FF}",
"\u{1F93C}\u{1F3FF}\u200D\u2640\uFE0F",
"\u{1F93C}\u{1F3FF}\u200D\u2642\uFE0F",
"\u{1F9D1}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FB}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FC}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FD}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FE}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FF}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1F430}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1FA70}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FB}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FC}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FD}",
"\u{1F9D1}\u{1F3FF}\u200D\u{1FAEF}\u200D\u{1F9D1}\u{1F3FE}",
"\u{1FA8A}",
"\u{1FA8E}",
"\u{1FAC8}",
"\u{1FACD}",
"\u{1FAEA}",
"\u{1FAEF}"
],
});