ICU-3170 Grapheme Cluster Boundary rule tweak for Unicode 4.0

X-SVN-Rev: 14880
This commit is contained in:
Andy Heninger 2004-04-06 05:31:17 +00:00
parent a145d66a17
commit d23bf8bf5e
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ $CR = \r;
$LF = \n;
$Control = [[:Zl:] [:Zp:] [:Cc:] [:Cf:]];
$Extend = [[:Grapheme_Extend = TRUE:]];
$Extend = [[:Grapheme_Extend = TRUE:] - [$Control]];
#
# Korean Syllable Definitions

View File

@ -54,7 +54,7 @@ $Numeric = [:LineBreak = Numeric:];
$CR = \u000d;
$LF = \u000a;
$Control = [[:Zl:] [:Zp:] [:Cc:] [:Cf:]];
$Extend = [[:Grapheme_Extend = TRUE:]];
$Extend = [[:Grapheme_Extend = TRUE:] - $Control];
$Format = [[:Cf:]];
$Hiragana = [:Hiragana:];
$Ideographic = [:IDEOGRAPHIC:];

View File

@ -114,8 +114,8 @@ static const UChar gIsWordPattern[] = {
static const UChar gGC_ExtendPattern[] = {
// [ \ p { G r a p h e m e _
0x5b, 0x5c, 0x70, 0x7b, 0x47, 0x72, 0x61, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x5f,
// E x t e n d } ]
0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x7d, 0x5d, 0};
// E x t e n d } - \ p { C f } ]
0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x7d, 0x2d, 0x5c, 0x70, 0x7b, 0x43, 0x66, 0x7d, 0x5d, 0};
static const UChar gGC_LPattern[] = {
// [ \ p { H a n g u l _ S y l