mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-3278 Word Break Rules, fix failures with long-running monkey tests.
X-SVN-Rev: 15329
This commit is contained in:
parent
d888ad57cf
commit
222ac0d067
1 changed files with 3 additions and 1 deletions
|
@ -53,8 +53,8 @@ $Numeric = [:LineBreak = Numeric:];
|
|||
|
||||
$CR = \u000d;
|
||||
$LF = \u000a;
|
||||
$Control = [[:Zl:] [:Zp:] [:Cc:] [:Cf:]];
|
||||
$Extend = [[:Grapheme_Extend = TRUE:]];
|
||||
$Control = [[:Zl:] [:Zp:] [:Cc:] [:Cf:] - $Extend];
|
||||
$Format = [[:Cf:] - $Extend];
|
||||
$Hiragana = [:Hiragana:];
|
||||
$Ideographic = [:IDEOGRAPHIC:];
|
||||
|
@ -195,6 +195,7 @@ $BackKatakanaEx $Format* $BackKatakanaEx;
|
|||
|
||||
# rule 3
|
||||
$Extend+ [^$Extend];
|
||||
$Extend+; # comes into play when buffer _begins_ with an $Extend+.
|
||||
|
||||
# rule 4
|
||||
$Format+ $BackABaseLetterEx;
|
||||
|
@ -205,6 +206,7 @@ $Format+ $BackMidNumLetEx;
|
|||
$Format+ $BackMidNumEx;
|
||||
$Format+ $BackKatakanaEx;
|
||||
|
||||
|
||||
# rule 6
|
||||
($MidLetter | $MidNumLet) $Format* $BackABaseLetterEx;
|
||||
($MidLetter | $MidNumLet) $Format* $BackACMLetterEx / $Control;
|
||||
|
|
Loading…
Add table
Reference in a new issue