summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorUnicode Consortium <unicode.org>2021-09-15 08:26:00 -0600
committerKarl Williamson <khw@cpan.org>2021-09-15 08:48:07 -0600
commit2f1eff3d4e0c24e2ac28c8bcaa8eb740b8e22c48 (patch)
tree5663d676e6faeb3a092b9ca3d1226eedf5a7f8a8 /regen
parent5c7c2de1bc6dcddd66e6617b3747594ee19229a6 (diff)
downloadperl-2f1eff3d4e0c24e2ac28c8bcaa8eb740b8e22c48.tar.gz
Support Unicode 14.0
Diffstat (limited to 'regen')
-rw-r--r--regen/mk_invlists.pl19
1 files changed, 6 insertions, 13 deletions
diff --git a/regen/mk_invlists.pl b/regen/mk_invlists.pl
index 8ea6254b57..7ed83dd5e6 100644
--- a/regen/mk_invlists.pl
+++ b/regen/mk_invlists.pl
@@ -1543,10 +1543,15 @@ sub output_LB_table() {
}
}
- # LB30b Do not break between an emoji base and an emoji modifier.
+ # LB30b Do not break between an emoji base (or potential emoji) and an
+ # emoji modifier.
+
# EB × EM
+ # [\p{Extended_Pictographic}&\p{Cn}] × EM
$lb_table[$lb_enums{'E_Base'}][$lb_enums{'E_Modifier'}]
= $lb_actions{'LB_NOBREAK'};
+ $lb_table[$lb_enums{'Unassigned_Extended_Pictographic_Ideographic'}]
+ [$lb_enums{'E_Modifier'}] = $lb_actions{'LB_NOBREAK'};
# LB30a Break between two regional indicator symbols if and only if there
# are an even number of regional indicators preceding the position of the
@@ -1597,18 +1602,6 @@ sub output_LB_table() {
= $lb_actions{'LB_NOBREAK'};
# LB27 Treat a Korean Syllable Block the same as ID.
- # (JL | JV | JT | H2 | H3) × IN
- $lb_table[$lb_enums{'JL'}][$lb_enums{'Inseparable'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'JV'}][$lb_enums{'Inseparable'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'JT'}][$lb_enums{'Inseparable'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'H2'}][$lb_enums{'Inseparable'}]
- = $lb_actions{'LB_NOBREAK'};
- $lb_table[$lb_enums{'H3'}][$lb_enums{'Inseparable'}]
- = $lb_actions{'LB_NOBREAK'};
-
# (JL | JV | JT | H2 | H3) × PO
$lb_table[$lb_enums{'JL'}][$lb_enums{'Postfix_Numeric'}]
= $lb_actions{'LB_NOBREAK'};