summaryrefslogtreecommitdiff
path: root/src/unicode_wb_data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unicode_wb_data.c')
-rw-r--r--src/unicode_wb_data.c55
1 files changed, 44 insertions, 11 deletions
diff --git a/src/unicode_wb_data.c b/src/unicode_wb_data.c
index 117feea..aa078fb 100644
--- a/src/unicode_wb_data.c
+++ b/src/unicode_wb_data.c
@@ -1,6 +1,6 @@
/* unicode_wb_data.c: Generated by make_unicode_wb_data.py. */
/*-
- * Copyright (c) 2019-2023 K.Kosako
+ * Copyright (c) 2019-2024 K.Kosako
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*/
-#define WORD_BREAK_PROPERTY_VERSION 150100
+#define WORD_BREAK_PROPERTY_VERSION 160000
/*
ALetter
@@ -48,7 +48,7 @@ WSegSpace
ZWJ
*/
-static int WB_RANGE_NUM = 1052;
+static int WB_RANGE_NUM = 1085;
static WB_RANGE_TYPE WB_RANGES[] = {
{0x00000a, 0x00000a, WB_LF },
{0x00000b, 0x00000c, WB_Newline },
@@ -156,7 +156,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x000870, 0x000887, WB_ALetter },
{0x000889, 0x00088e, WB_ALetter },
{0x000890, 0x000891, WB_Numeric },
- {0x000898, 0x00089f, WB_Extend },
+ {0x000897, 0x00089f, WB_Extend },
{0x0008a0, 0x0008c9, WB_ALetter },
{0x0008ca, 0x0008e1, WB_Extend },
{0x0008e2, 0x0008e2, WB_Numeric },
@@ -418,7 +418,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x001920, 0x00192b, WB_Extend },
{0x001930, 0x00193b, WB_Extend },
{0x001946, 0x00194f, WB_Numeric },
- {0x0019d0, 0x0019d9, WB_Numeric },
+ {0x0019d0, 0x0019da, WB_Numeric },
{0x001a00, 0x001a16, WB_ALetter },
{0x001a17, 0x001a1b, WB_Extend },
{0x001a55, 0x001a5e, WB_Extend },
@@ -446,7 +446,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x001c4d, 0x001c4f, WB_ALetter },
{0x001c50, 0x001c59, WB_Numeric },
{0x001c5a, 0x001c7d, WB_ALetter },
- {0x001c80, 0x001c88, WB_ALetter },
+ {0x001c80, 0x001c8a, WB_ALetter },
{0x001c90, 0x001cba, WB_ALetter },
{0x001cbd, 0x001cbf, WB_ALetter },
{0x001cd0, 0x001cd2, WB_Extend },
@@ -564,10 +564,10 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x00a69e, 0x00a69f, WB_Extend },
{0x00a6a0, 0x00a6ef, WB_ALetter },
{0x00a6f0, 0x00a6f1, WB_Extend },
- {0x00a708, 0x00a7ca, WB_ALetter },
+ {0x00a708, 0x00a7cd, WB_ALetter },
{0x00a7d0, 0x00a7d1, WB_ALetter },
{0x00a7d3, 0x00a7d3, WB_ALetter },
- {0x00a7d5, 0x00a7d9, WB_ALetter },
+ {0x00a7d5, 0x00a7dc, WB_ALetter },
{0x00a7f2, 0x00a801, WB_ALetter },
{0x00a802, 0x00a802, WB_Extend },
{0x00a803, 0x00a805, WB_ALetter },
@@ -647,9 +647,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x00fd92, 0x00fdc7, WB_ALetter },
{0x00fdf0, 0x00fdfb, WB_ALetter },
{0x00fe00, 0x00fe0f, WB_Extend },
- {0x00fe10, 0x00fe10, WB_MidNum },
{0x00fe13, 0x00fe13, WB_MidLetter },
- {0x00fe14, 0x00fe14, WB_MidNum },
{0x00fe20, 0x00fe2f, WB_Extend },
{0x00fe33, 0x00fe34, WB_ExtendNumLet },
{0x00fe4d, 0x00fe4f, WB_ExtendNumLet },
@@ -711,6 +709,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x0105a3, 0x0105b1, WB_ALetter },
{0x0105b3, 0x0105b9, WB_ALetter },
{0x0105bb, 0x0105bc, WB_ALetter },
+ {0x0105c0, 0x0105f3, WB_ALetter },
{0x010600, 0x010736, WB_ALetter },
{0x010740, 0x010755, WB_ALetter },
{0x010760, 0x010767, WB_ALetter },
@@ -755,10 +754,15 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x010d00, 0x010d23, WB_ALetter },
{0x010d24, 0x010d27, WB_Extend },
{0x010d30, 0x010d39, WB_Numeric },
+ {0x010d40, 0x010d49, WB_Numeric },
+ {0x010d4a, 0x010d65, WB_ALetter },
+ {0x010d69, 0x010d6d, WB_Extend },
+ {0x010d6f, 0x010d85, WB_ALetter },
{0x010e80, 0x010ea9, WB_ALetter },
{0x010eab, 0x010eac, WB_Extend },
{0x010eb0, 0x010eb1, WB_ALetter },
- {0x010efd, 0x010eff, WB_Extend },
+ {0x010ec2, 0x010ec4, WB_ALetter },
+ {0x010efc, 0x010eff, WB_Extend },
{0x010f00, 0x010f1c, WB_ALetter },
{0x010f27, 0x010f27, WB_ALetter },
{0x010f30, 0x010f45, WB_ALetter },
@@ -834,6 +838,20 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x011362, 0x011363, WB_Extend },
{0x011366, 0x01136c, WB_Extend },
{0x011370, 0x011374, WB_Extend },
+ {0x011380, 0x011389, WB_ALetter },
+ {0x01138b, 0x01138b, WB_ALetter },
+ {0x01138e, 0x01138e, WB_ALetter },
+ {0x011390, 0x0113b5, WB_ALetter },
+ {0x0113b7, 0x0113b7, WB_ALetter },
+ {0x0113b8, 0x0113c0, WB_Extend },
+ {0x0113c2, 0x0113c2, WB_Extend },
+ {0x0113c5, 0x0113c5, WB_Extend },
+ {0x0113c7, 0x0113ca, WB_Extend },
+ {0x0113cc, 0x0113d0, WB_Extend },
+ {0x0113d1, 0x0113d1, WB_ALetter },
+ {0x0113d2, 0x0113d2, WB_Extend },
+ {0x0113d3, 0x0113d3, WB_ALetter },
+ {0x0113e1, 0x0113e2, WB_Extend },
{0x011400, 0x011434, WB_ALetter },
{0x011435, 0x011446, WB_Extend },
{0x011447, 0x01144a, WB_ALetter },
@@ -858,6 +876,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x0116ab, 0x0116b7, WB_Extend },
{0x0116b8, 0x0116b8, WB_ALetter },
{0x0116c0, 0x0116c9, WB_Numeric },
+ {0x0116d0, 0x0116e3, WB_Numeric },
{0x01171d, 0x01172b, WB_Extend },
{0x011730, 0x011739, WB_Numeric },
{0x011800, 0x01182b, WB_ALetter },
@@ -897,6 +916,8 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x011a8a, 0x011a99, WB_Extend },
{0x011a9d, 0x011a9d, WB_ALetter },
{0x011ab0, 0x011af8, WB_ALetter },
+ {0x011bc0, 0x011be0, WB_ALetter },
+ {0x011bf0, 0x011bf9, WB_Numeric },
{0x011c00, 0x011c08, WB_ALetter },
{0x011c0a, 0x011c2e, WB_ALetter },
{0x011c2f, 0x011c36, WB_Extend },
@@ -934,6 +955,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x011f34, 0x011f3a, WB_Extend },
{0x011f3e, 0x011f42, WB_Extend },
{0x011f50, 0x011f59, WB_Numeric },
+ {0x011f5a, 0x011f5a, WB_Extend },
{0x011fb0, 0x011fb0, WB_ALetter },
{0x012000, 0x012399, WB_ALetter },
{0x012400, 0x01246e, WB_ALetter },
@@ -944,7 +966,11 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x013440, 0x013440, WB_Extend },
{0x013441, 0x013446, WB_ALetter },
{0x013447, 0x013455, WB_Extend },
+ {0x013460, 0x0143fa, WB_ALetter },
{0x014400, 0x014646, WB_ALetter },
+ {0x016100, 0x01611d, WB_ALetter },
+ {0x01611e, 0x01612f, WB_Extend },
+ {0x016130, 0x016139, WB_Numeric },
{0x016800, 0x016a38, WB_ALetter },
{0x016a40, 0x016a5e, WB_ALetter },
{0x016a60, 0x016a69, WB_Numeric },
@@ -958,6 +984,8 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x016b50, 0x016b59, WB_Numeric },
{0x016b63, 0x016b77, WB_ALetter },
{0x016b7d, 0x016b8f, WB_ALetter },
+ {0x016d40, 0x016d6c, WB_ALetter },
+ {0x016d70, 0x016d79, WB_Numeric },
{0x016e40, 0x016e7f, WB_ALetter },
{0x016f00, 0x016f4a, WB_ALetter },
{0x016f4f, 0x016f4f, WB_Extend },
@@ -982,6 +1010,7 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x01bc90, 0x01bc99, WB_ALetter },
{0x01bc9d, 0x01bc9e, WB_Extend },
{0x01bca0, 0x01bca3, WB_Format },
+ {0x01ccf0, 0x01ccf9, WB_Numeric },
{0x01cf00, 0x01cf2d, WB_Extend },
{0x01cf30, 0x01cf46, WB_Extend },
{0x01d165, 0x01d169, WB_Extend },
@@ -1050,6 +1079,10 @@ static WB_RANGE_TYPE WB_RANGES[] = {
{0x01e4d0, 0x01e4eb, WB_ALetter },
{0x01e4ec, 0x01e4ef, WB_Extend },
{0x01e4f0, 0x01e4f9, WB_Numeric },
+ {0x01e5d0, 0x01e5ed, WB_ALetter },
+ {0x01e5ee, 0x01e5ef, WB_Extend },
+ {0x01e5f0, 0x01e5f0, WB_ALetter },
+ {0x01e5f1, 0x01e5fa, WB_Numeric },
{0x01e7e0, 0x01e7e6, WB_ALetter },
{0x01e7e8, 0x01e7eb, WB_ALetter },
{0x01e7ed, 0x01e7ee, WB_ALetter },