diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js')
-rw-r--r-- | js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js b/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js new file mode 100644 index 0000000000..d5ee47f816 --- /dev/null +++ b/js/src/tests/test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js @@ -0,0 +1,82 @@ +// Copyright 2022 Mathias Bynens. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +author: Mathias Bynens +description: > + Unicode property escapes for `Script_Extensions=Adlam` +info: | + Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests + Unicode v15.0.0 +esid: sec-static-semantics-unicodematchproperty-p +features: [regexp-unicode-property-escapes] +includes: [regExpUtils.js] +---*/ + +const matchSymbols = buildString({ + loneCodePoints: [ + 0x00061F, + 0x000640 + ], + ranges: [ + [0x01E900, 0x01E94B], + [0x01E950, 0x01E959], + [0x01E95E, 0x01E95F] + ] +}); +testPropertyEscapes( + /^\p{Script_Extensions=Adlam}+$/u, + matchSymbols, + "\\p{Script_Extensions=Adlam}" +); +testPropertyEscapes( + /^\p{Script_Extensions=Adlm}+$/u, + matchSymbols, + "\\p{Script_Extensions=Adlm}" +); +testPropertyEscapes( + /^\p{scx=Adlam}+$/u, + matchSymbols, + "\\p{scx=Adlam}" +); +testPropertyEscapes( + /^\p{scx=Adlm}+$/u, + matchSymbols, + "\\p{scx=Adlm}" +); + +const nonMatchSymbols = buildString({ + loneCodePoints: [], + ranges: [ + [0x00DC00, 0x00DFFF], + [0x000000, 0x00061E], + [0x000620, 0x00063F], + [0x000641, 0x00DBFF], + [0x00E000, 0x01E8FF], + [0x01E94C, 0x01E94F], + [0x01E95A, 0x01E95D], + [0x01E960, 0x10FFFF] + ] +}); +testPropertyEscapes( + /^\P{Script_Extensions=Adlam}+$/u, + nonMatchSymbols, + "\\P{Script_Extensions=Adlam}" +); +testPropertyEscapes( + /^\P{Script_Extensions=Adlm}+$/u, + nonMatchSymbols, + "\\P{Script_Extensions=Adlm}" +); +testPropertyEscapes( + /^\P{scx=Adlam}+$/u, + nonMatchSymbols, + "\\P{scx=Adlam}" +); +testPropertyEscapes( + /^\P{scx=Adlm}+$/u, + nonMatchSymbols, + "\\P{scx=Adlm}" +); + +reportCompare(0, 0); |