Lines Matching refs:CM
32 # LF ID CM AL AL
35 # LF CM AL AL
37 # Our CM, which in the first example was attached to the ideograph,
43 # a CM to see whether it attaches to something further on or not.
46 # If the CM is unattached, we need to force a break.
65 $CM = [:LineBreak = Combining_Mark:];
112 # Combining Marks. X $CM* behaves as if it were X. Rule LB6.
114 $ALcm = $ALPlus $CM*;
115 $BAcm = $BA $CM*;
116 $BBcm = $BB $CM*;
117 $B2cm = $B2 $CM*;
118 $CLcm = $CL $CM*;
119 $EXcm = $EX $CM*;
120 $GLcm = $GL $CM*;
121 $HYcm = $HY $CM*;
122 $H2cm = $H2 $CM*;
123 $H3cm = $H3 $CM*;
124 $IDcm = $ID $CM*;
125 $INcm = $IN $CM*;
126 $IScm = $IS $CM*;
127 $JLcm = $JL $CM*;
128 $JVcm = $JV $CM*;
129 $JTcm = $JT $CM*;
130 $NScm = $NS $CM*;
131 $NUcm = $NU $CM*;
132 $OPcm = $OP $CM*;
133 $POcm = $PO $CM*;
134 $PRcm = $PR $CM*;
135 $QUcm = $QU $CM*;
136 $SYcm = $SY $CM*;
137 $WJcm = $WJ $CM*;
146 $ALPlus $CM+;
147 $BA $CM+;
148 $BB $CM+;
149 $B2 $CM+;
150 $CL $CM+;
151 $EX $CM+;
152 $GL $CM+;
153 $HY $CM+;
154 $H2 $CM+;
155 $H3 $CM+;
156 $ID $CM+;
157 $IN $CM+;
158 $IS $CM+;
159 $JL $CM+;
160 $JV $CM+;
161 $JT $CM+;
162 $NS $CM+;
163 $NU $CM+;
164 $OP $CM+;
165 $PO $CM+;
166 $PR $CM+;
167 $QU $CM+;
168 $SY $CM+;
169 $WJ $CM+;
172 # CAN_CM is the set of characters that may combine with CM combining chars.
176 # Note that $CM itself is left out of this set. If CM is needed as a base
179 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
180 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
184 # Needed in rules where stand-alone $CM s are treated as AL.
185 # Chaining is disabled with CM because it causes other failures,
204 $CAN_CM $CM* $LB4Breaks {100};
205 $CM+ $LB4Breaks {100};
210 $CAN_CM $CM* [$SP $ZW];
211 $CM+ [$SP $ZW];
220 # LB 9 Combining marks. X $CM needs to behave like X, where X is not $SP, $BK $CR $LF $N…
221 # $CM not covered by the above needs to behave like $AL
224 $CAN_CM $CM+; # Stick together any combining sequences that don't match other ru…
225 $CM+;
230 $CAN_CM $CM* $WJcm;
232 $CM+ $WJcm;
235 $WJcm $CAN_CM $CM*;
241 [$LB8NonBreaks-$SP] $CM* $GLcm;
242 $CM+ $GLcm;
246 $GLcm [$LB8NonBreaks-$SP] $CM*; # Don't let a combining mark go onto $CR, $BK, etc.
248 # All but $CM will chain off of preceding rule.
249 # $GLcm will pick up the CM case by itself.
258 $CAN_CM $CM* $CL;
259 $CM+ $CL; # by rule 10, stand-alone CM behaves as AL
262 $CAN_CM $CM* $EX;
263 $CM+ $EX; # by rule 10, stand-alone CM behaves as AL
266 $CAN_CM $CM* $IS;
267 $CM+ $IS; # by rule 10, stand-alone CM behaves as AL
270 $CAN_CM $CM* $SY;
271 $CM+ $SY; # by rule 10, stand-alone CM behaves as AL
277 $OPcm $SP* $CAN_CM $CM*;
280 $OPcm $SP+ $CM+ $AL_FOLLOW?; # by rule 10, stand-alone CM behaves as AL
300 $LB18NonBreaks $CM* $QUcm;
301 $CM+ $QUcm;
305 $QUcm $LB18NonBreaks $CM*; # Don't let a combining mark go onto $CR, $BK, etc.
318 $LB20NonBreaks $CM* ($BAcm | $HYcm | $NScm);
321 $BBcm $LB20NonBreaks $CM*;
325 $CM+ $INcm; # by rule 10, any otherwise unattached CM behaves as AL
334 $CM+ $NUcm; # Rule 10, any otherwise unattached CM behaves as AL
365 $CM+ $ALcm; # The $CM+ is from rule 10, and unattached CM is treated as AL
375 $CM+ $OPcm;
387 $CM+ $ALPlus;
388 $CM+ $BA;
389 $CM+ $BB;
390 $CM+ $B2;
391 $CM+ $CL;
392 $CM+ $EX;
393 $CM+ $GL;
394 $CM+ $HY;
395 $CM+ $H2;
396 $CM+ $H3;
397 $CM+ $ID;
398 $CM+ $IN;
399 $CM+ $IS;
400 $CM+ $JL;
401 $CM+ $JV;
402 $CM+ $JT;
403 $CM+ $NS;
404 $CM+ $NU;
405 $CM+ $OP;
406 $CM+ $PO;
407 $CM+ $PR;
408 $CM+ $QU;
409 $CM+ $SY;
410 $CM+ $WJ;
411 $CM+;
416 # [CANT_CM] <break> [CM] [whatever]
417 # The CM needs to behave as an AL
419 $AL_FOLLOW $CM+ / (
421 $SP+ $CM+ $SP |
422 … $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break.
425 # becomes OP SP* x CM+ AL_FOLLOW
433 # [CANT_CM] <break> [CM] <break> [PR]
434 # The CM needs to behave as an AL
438 [$PR ] / $CM+ [$BK $CR $LF $NL $ZW $SP {eof}];
444 $LB4Breaks [$LB4NonBreaks-$CM];
445 $LB4Breaks $CM+ $CAN_CM;
451 [$SP $ZW] [$LB4NonBreaks-$CM];
452 [$SP $ZW] $CM+ $CAN_CM;
458 # X $CM needs to behave like X, where X is not $SP or controls.
459 # $CM not covered by the above needs to behave like $AL
461 $CM+ $CAN_CM;
465 $CM* $WJ $CM* $CAN_CM;
466 $CM* $WJ [$LB8NonBreaks-$CM];
468 $CANT_CM $CM* $WJ;
469 $CM* $CAN_CM $CM* $WJ;
474 $CM* $GL $CM* [$LB8NonBreaks-$CM-$SP];
479 $CANT_CM $CM* $GL;
480 $CM* $CAN_CM $CM* $GL;
484 $CL $CM+ $CAN_CM;
485 $EX $CM+ $CAN_CM;
486 $IS $CM+ $CAN_CM;
487 $SY $CM+ $CAN_CM;
489 $CL [$LB8NonBreaks-$CM];
490 $EX [$LB8NonBreaks-$CM];
491 $IS [$LB8NonBreaks-$CM];
492 $SY [$LB8NonBreaks-$CM];
496 # OP SP+ ($CM+ behaving as $AL) (CL | EX | IS | IY)
497 # This really wants to chain at the $CM+ (which is acting as an $AL)
498 # except for $CM chaining being disabled.
499 [$CL $EX $IS $SY] $CM+ $SP+ $CM* $OP;
503 $CM* $CAN_CM $SP* $CM* $OP;
504 $CANT_CM $SP* $CM* $OP;
505 $AL_FOLLOW? $CM+ $SP $SP* $CM* $OP; # by LB 10, behaves like $AL_FOLLOW? $AL $SP* $CM* $OP
507 $AL_FOLLOW_NOCM $CM+ $SP+ $CM* $OP;
508 $CM* $AL_FOLLOW_CM $CM+ $SP+ $CM* $OP;
509 $SY $CM $SP+ $OP; # TODO: Experiment. Remove.
514 # $CM* $OP $SP* $CM* $QU;
517 $CM* $NS $SP* $CM* $CL;
520 $CM* $B2 $SP* $CM* $B2;
529 $CM* $QU $CM* $CAN_CM; # . x QU
530 $CM* $QU $LB18NonBreaks;
533 $CM* $CAN_CM $CM* $QU; # QU x .
534 $CANT_CM $CM* $QU;
542 $CM* ($BA | $HY | $NS) $CM* [$LB20NonBreaks-$CM]; # . x (BA | HY | NS)
544 $CM* [$LB20NonBreaks-$CM] $CM* $BB; # BB x .
545 [^$CB] $CM* $BB; #
550 $CM* $IN $CM* $ALPlus;
551 $CM* $IN $CM* $ID;
552 $CM* $IN $CM* $IN;
553 $CM* $IN $CM* $NU;
556 $CM* $PO $CM* $ID;
557 $CM* $NU $CM* $ALPlus;
558 $CM* $ALPlus $CM* $NU;
561 $CM* $ID $CM* $PR;
562 $CM* $PR $CM* $ALPlus;
563 $CM* $ALPlus $CM* $PR;
564 $CM* $ALPlus $CM* $PO;
566 $CM* $ALPlus $CM* ($IS | $SY | $HY)+ / $SP;
567 $CM* $NU+ $CM* $HY+ / $SP;
570 ($CM* ($PR | $PO))? ($CM* $CL)? ($CM* ($NU | $IS | $SY))* $CM* $NU ($CM* ($OP))? ($CM* ($PR | $PO))…
573 $CM* ($H3 | $H2 | $JV | $JL) $CM* $JL;
574 $CM* ($JT | $JV) $CM* ($H2 | $JV);
575 $CM* $JT $CM* ($H3 | $JT);
578 $CM* $IN $CM* ($H3 | $H2 | $JT | $JV | $JL);
579 $CM* $PO $CM* ($H3 | $H2 | $JT | $JV | $JL);
580 $CM* ($H3 | $H2 | $JT | $JV | $JL) $CM* $PR;
583 $CM* $ALPlus $CM* $ALPlus;
587 $CM* ($NU | $ALPlus) $CM* $IS+ [^$SP];
590 $CM* $OP $CM* ($NU | $ALPlus);
591 $CM* ($NU | $ALPlus) $CM* ($CL | $SY)+ [^$SP];
599 $CM+ [^$CM $BK $CR $LF $NL $ZW $SP];
600 $CM+ $SP / .;
603 $SP+ $CM* $OP;
606 $SP+ $CM* $QU;
609 $SP+ $CM* $CL;
610 $SP+ $CM* $B2;
613 ($CM* ($IS | $SY))+ $CM* $NU;
614 $CL $CM* ($NU | $IS | $SY);
632 [$CM $OP $QU $CL $B2 $PR $HY $SP $dictionary]+ [^$CM $OP $QU $CL $B2 $PR $HY $dictionary];