cjk - review: the voicing marks' script stated truly, one spelling for the alphabet
CI / gate (push) Successful in 46s
CI / publish (push) Successful in 6s

This commit was merged in pull request #147.
This commit is contained in:
2026-09-29 18:52:03 +02:00
parent e2a660ee8e
commit 160c2a7052
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ const alertWords: Readonly<Record<string, string>> = {
warning: 'WARNING',
}
// ー, ー and the kana voicing marks are Script=Common; Script_Extensions would also take Latin combining marks.
const boundingScript = /^[\u3099-\u309c\u30fc\uff70\uff9e\uff9f\p{Script=Han}\p{Script=Hangul}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Khmer}\p{Script=Lao}\p{Script=Myanmar}\p{Script=Thai}]$/u
// ー, ー and the kana voicing marks sit outside the kana scripts; Script_Extensions would also take Latin combining marks.
const boundingScript = /^[\u3099\u309a\u30fc\uff70\uff9e\uff9f\p{Script=Han}\p{Script=Hangul}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Khmer}\p{Script=Lao}\p{Script=Myanmar}\p{Script=Thai}]$/u
const panelTypesByWord: Readonly<Record<string, string>> = {
attention: 'warning',