| 7 | // Exclude tests that rely on Unicode-spec-only behavior (WB4: Format/Extend attachment). |
| 8 | // See: https://unicode.org/reports/tr29/#Word_Boundaries |
| 9 | const isFormatRelatedTest = (comment: string) => { |
| 10 | // Exclude tests involving Format characters (WORD JOINER, SOFT HYPHEN, etc.) |
| 11 | // appearing after other characters, which Unicode 17.0 expects to attach |
| 12 | // but CLDR rules may segment differently |
| 13 | return comment.includes('(Format)') && comment.includes('× [4.0]') |
| 14 | } |
| 15 | |
| 16 | // Regional Indicator (emoji flags) with Extend/Format characters |
| 17 | // Known limitation: JavaScript regex cannot properly handle transparency within |