ICU-3278 Word Break Rules, fix failures with long-running monkey tests.

X-SVN-Rev: 15329
This commit is contained in:
Andy Heninger 2004-05-17 02:49:46 +00:00
parent d888ad57cf
commit 222ac0d067

View file

@ -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;