Logical_Order_Exception.js (1415B)
1 // Copyright 2025 Mathias Bynens. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 author: Mathias Bynens 6 description: > 7 Unicode property escapes for `Logical_Order_Exception` 8 info: | 9 Generated by https://github.com/mathiasbynens/unicode-property-escapes-tests 10 Unicode v17.0.0 11 esid: sec-static-semantics-unicodematchproperty-p 12 features: [regexp-unicode-property-escapes] 13 includes: [regExpUtils.js] 14 ---*/ 15 16 const matchSymbols = buildString({ 17 loneCodePoints: [ 18 0x0019BA, 19 0x00AAB9 20 ], 21 ranges: [ 22 [0x000E40, 0x000E44], 23 [0x000EC0, 0x000EC4], 24 [0x0019B5, 0x0019B7], 25 [0x00AAB5, 0x00AAB6], 26 [0x00AABB, 0x00AABC] 27 ] 28 }); 29 testPropertyEscapes( 30 /^\p{Logical_Order_Exception}+$/u, 31 matchSymbols, 32 "\\p{Logical_Order_Exception}" 33 ); 34 testPropertyEscapes( 35 /^\p{LOE}+$/u, 36 matchSymbols, 37 "\\p{LOE}" 38 ); 39 40 const nonMatchSymbols = buildString({ 41 loneCodePoints: [ 42 0x00AABA 43 ], 44 ranges: [ 45 [0x00DC00, 0x00DFFF], 46 [0x000000, 0x000E3F], 47 [0x000E45, 0x000EBF], 48 [0x000EC5, 0x0019B4], 49 [0x0019B8, 0x0019B9], 50 [0x0019BB, 0x00AAB4], 51 [0x00AAB7, 0x00AAB8], 52 [0x00AABD, 0x00DBFF], 53 [0x00E000, 0x10FFFF] 54 ] 55 }); 56 testPropertyEscapes( 57 /^\P{Logical_Order_Exception}+$/u, 58 nonMatchSymbols, 59 "\\P{Logical_Order_Exception}" 60 ); 61 testPropertyEscapes( 62 /^\P{LOE}+$/u, 63 nonMatchSymbols, 64 "\\P{LOE}" 65 ); 66 67 reportCompare(0, 0);