INTEGRATION: CWS i18n09 (1.2.2); FILE MERGED

2003/12/04 23:45:37 khong 1.2.2.3: #i22602# make dot stick on beginning of a word when doing line break
2003/12/04 23:12:37 khong 1.2.2.2: #i21392# change line break rule to match with MS office
2003/12/03 19:32:02 khong 1.2.2.1: #i19716# fix wrong line break on bracket characters
This commit is contained in:
Jens-Heiner Rechtien 2004-03-08 16:17:05 +00:00
parent 15f4185184
commit 4da98b6484

View file

@ -94,7 +94,7 @@ $Openings = (($QUcm $SP*)? $OPcm $SP*)*;
#
# Closings Seqences that follow words, and that should not be separated from them,
# Rule LB 8, 11, 15
$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYcm | $NScm)*;
$Closings = ($SP*( ($CL ($SP* $NScm)? | $EX ) $Extend*) | $HYcm | $NScm)*;
#
# Words. Includes mixed Alpha-numerics.
@ -102,15 +102,9 @@ $Closings = ($SP*( ($CL ($SP* $NScm)? | $EX | $IS ) $Extend*) | $BAcm | $HYc
#
$NumberInterior = $IDcm | ($NUcm | $ALcm | $IS $NUcm)+;
$Number = $PR? ($OPcm | $HYcm)? $NumberInterior $CL? $POcm?; # Fancy Number 18
$Word = (($IDcm | ($ALcm | $NUcm | $EX | $HY | $IS | $SY | $PR)+) ($POcm? | $INcm?)) ; # Alpha-numeric. 16, 17
$Word = (($IDcm | ($ALcm | $NUcm | $EX | $IS | $OP | $PO | $CL | $SY | $PR)+) $INcm?) ; # Alpha-numeric. 16, 17
$Dashes = (($B2cm $SP*)*); # Dashes 11a
$Word15 = ($BBcm* ($Word | $Number | $Dashes)? ($BAcm | $HYcm | $NScm)*) | # Rule 15. Stuff sticks around words.
[^[:Cc:] $BK $CR $LF $ZW $SP $GL] $Extend* | # Allow characters that don't meet the
[^$BK $CR $LF $ZW $SP $GL ]; # more elaborate definitions for WORD
@ -125,10 +119,6 @@ $GluedWord = ($GLcm | $QUcm)? $Word15 (($GLcm | $QUcm) $Word15)*; # "Glue" wil
$Openings $GluedWord $Closings $Endings;
# $GluedWord;
#
# Reverse Rules.
#