Lines Matching refs:CM
35 # LF ID CM AL AL
38 # LF CM AL AL
40 # Our CM, which in the first example was attached to the ideograph,
46 # a CM to see whether it attaches to something further on or not.
49 # If the CM is unattached, we need to force a break.
69 $CM = [:LineBreak = Combining_Mark:];
116 # Combining Marks. X $CM* behaves as if it were X. Rule LB6.
118 $ALcm = $ALPlus $CM*;
119 $HLcm = $HL $CM*;
120 $BAcm = $BA $CM*;
121 $HHcm = $HH $CM*;
122 $BBcm = $BB $CM*;
123 $B2cm = $B2 $CM*;
124 $CLcm = $CL $CM*;
125 $CPcm = $CP $CM*;
126 $EXcm = $EX $CM*;
127 $GLcm = $GL $CM*;
128 $HYcm = $HY $CM*;
129 $H2cm = $H2 $CM*;
130 $H3cm = $H3 $CM*;
131 $IDcm = $ID $CM*;
132 $INcm = $IN $CM*;
133 $IScm = $IS $CM*;
134 $JLcm = $JL $CM*;
135 $JVcm = $JV $CM*;
136 $JTcm = $JT $CM*;
137 $NScm = $NS $CM*;
138 $NUcm = $NU $CM*;
139 $OPcm = $OP $CM*;
140 $POcm = $PO $CM*;
141 $PRcm = $PR $CM*;
142 $QUcm = $QU $CM*;
143 $SYcm = $SY $CM*;
144 $WJcm = $WJ $CM*;
153 $ALPlus $CM+;
154 $BA $CM+;
155 $HH $CM+;
156 $BB $CM+;
157 $B2 $CM+;
158 $CL $CM+;
159 $CP $CM+;
160 $EX $CM+;
161 $GL $CM+;
162 $HY $CM+;
163 $H2 $CM+;
164 $H3 $CM+;
165 $ID $CM+;
166 $IN $CM+;
167 $IS $CM+;
168 $JL $CM+;
169 $JV $CM+;
170 $JT $CM+;
171 $NS $CM+;
172 $NU $CM+;
173 $OP $CM+;
174 $PO $CM+;
175 $PR $CM+;
176 $QU $CM+;
177 $SY $CM+;
178 $WJ $CM+;
181 # CAN_CM is the set of characters that may combine with CM combining chars.
185 # Note that $CM itself is left out of this set. If CM is needed as a base
188 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
189 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
193 # Needed in rules where stand-alone $CM s are treated as AL.
194 # Chaining is disabled with CM because it causes other failures,
213 $CAN_CM $CM* $LB4Breaks {100};
214 $CM+ $LB4Breaks {100};
219 $CAN_CM $CM* [$SP $ZW];
220 $CM+ [$SP $ZW];
232 # LB 9 Combining marks. X $CM needs to behave like X, where X is not $SP, $BK $CR $LF $N…
233 # $CM not covered by the above needs to behave like $AL
236 $CAN_CM $CM+; # Stick together any combining sequences that don't match other ru…
237 $CM+;
242 $CAN_CM $CM* $WJcm;
244 $CM+ $WJcm;
247 $WJcm $CAN_CM $CM*;
253 $GLcm $CAN_CM $CM*;
260 [[$LB8NonBreaks] - [$SP $BA $HH $HY]] $CM* $GLcm;
261 $CM+ GLcm;
269 $CAN_CM $CM* $CL;
270 $CM+ $CL; # by rule 10, stand-alone CM behaves as AL
273 $CAN_CM $CM* $CP;
274 $CM+ $CP; # by rule 10, stand-alone CM behaves as AL
277 $CAN_CM $CM* $EX;
278 $CM+ $EX; # by rule 10, stand-alone CM behaves as AL
281 $CAN_CM $CM* $IS;
282 $CM+ $IS; # by rule 10, stand-alone CM behaves as AL
285 $CAN_CM $CM* $SY;
286 $CM+ $SY; # by rule 10, stand-alone CM behaves as AL
292 $OPcm $SP* $CAN_CM $CM*;
295 $OPcm $SP+ $CM+ $AL_FOLLOW?; # by rule 10, stand-alone CM behaves as AL
315 $LB18NonBreaks $CM* $QUcm;
316 $CM+ $QUcm;
320 $QUcm $LB18NonBreaks $CM*; # Don't let a combining mark go onto $CR, $BK, etc.
333 $LB20NonBreaks $CM* ($BAcm | $HHcm | $HYcm | $NScm);
336 $BBcm $LB20NonBreaks $CM*;
340 $CM+ $INcm; # by rule 10, any otherwise unattached CM behaves as AL
349 $CM+ $NUcm; # Rule 10, any otherwise unattached CM behaves as AL
379 $CM+ $ALcm; # The $CM+ is from rule 10, an unattached CM is treated as AL
386 $CM+ $OPcm; # The $CM+ is from rule 10, an unattached CM is treated as AL.
399 $CM+ $ALPlus;
400 $CM+ $BA;
401 $CM+ $HH;
402 $CM+ $BB;
403 $CM+ $B2;
404 $CM+ $CL;
405 $CM+ $CP;
406 $CM+ $EX;
407 $CM+ $GL;
408 $CM+ $HY;
409 $CM+ $H2;
410 $CM+ $H3;
411 $CM+ $ID;
412 $CM+ $IN;
413 $CM+ $IS;
414 $CM+ $JL;
415 $CM+ $JV;
416 $CM+ $JT;
417 $CM+ $NS;
418 $CM+ $NU;
419 $CM+ $OP;
420 $CM+ $PO;
421 $CM+ $PR;
422 $CM+ $QU;
423 $CM+ $SY;
424 $CM+ $WJ;
425 $CM+;
430 # [CANT_CM] <break> [CM] [whatever]
431 # The CM needs to behave as an AL
433 $AL_FOLLOW $CM+ / (
435 $SP+ $CM+ $SP |
436 … $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break.
439 # becomes OP SP* x CM+ AL_FOLLOW
447 # [CANT_CM] <break> [CM] <break> [PR]
448 # The CM needs to behave as an AL
452 [$PR ] / $CM+ [$BK $CR $LF $NL $ZW $SP {eof}];
458 $LB4Breaks [$LB4NonBreaks-$CM];
459 $LB4Breaks $CM+ $CAN_CM;
465 [$SP $ZW] [$LB4NonBreaks-$CM];
466 [$SP $ZW] $CM+ $CAN_CM;
474 # X $CM needs to behave like X, where X is not $SP or controls.
475 # $CM not covered by the above needs to behave like $AL
477 $CM+ $CAN_CM;
481 $CM* $WJ $CM* $CAN_CM;
482 $CM* $WJ [$LB8NonBreaks-$CM];
484 $CANT_CM $CM* $WJ;
485 $CM* $CAN_CM $CM* $WJ;
490 $CM* $GL $CM* [$LB8NonBreaks-[$CM $SP $BA $HH $HY]];
495 $CANT_CM $CM* $GL;
496 $CM* $CAN_CM $CM* $GL;
500 $CL $CM+ $CAN_CM;
501 $CP $CM+ $CAN_CM;
502 $EX $CM+ $CAN_CM;
503 $IS $CM+ $CAN_CM;
504 $SY $CM+ $CAN_CM;
506 $CL [$LB8NonBreaks-$CM];
507 $CP [$LB8NonBreaks-$CM];
508 $EX [$LB8NonBreaks-$CM];
509 $IS [$LB8NonBreaks-$CM];
510 $SY [$LB8NonBreaks-$CM];
514 # OP SP+ ($CM+ behaving as $AL) (CL | CP | EX | IS | IY)
515 # This really wants to chain at the $CM+ (which is acting as an $AL)
516 # except for $CM chaining being disabled.
517 [$CL $CP $EX $IS $SY] $CM+ $SP+ $CM* $OP;
521 $CM* $CAN_CM $SP* $CM* $OP;
522 $CANT_CM $SP* $CM* $OP;
523 $AL_FOLLOW? $CM+ $SP $SP* $CM* $OP; # by LB 10, behaves like $AL_FOLLOW? $AL $SP* $CM* $OP
525 $AL_FOLLOW_NOCM $CM+ $SP+ $CM* $OP;
526 $CM* $AL_FOLLOW_CM $CM+ $SP+ $CM* $OP;
527 $SY $CM $SP+ $OP; # TODO: Experiment. Remove.
532 $CM* $OP $SP* $CM* $QU;
535 $CM* $NS $SP* $CM* ($CL | $CP);
538 $CM* $B2 $SP* $CM* $B2;
547 $CM* $QU $CM* $CAN_CM; # . x QU
548 $CM* $QU $LB18NonBreaks;
551 $CM* $CAN_CM $CM* $QU; # QU x .
552 $CANT_CM $CM* $QU;
560 $CM* ($BA | $HH | $HY | $NS) $CM* [$LB20NonBreaks-$CM]; # . x (BA | HY | NS)
562 $CM* [$LB20NonBreaks-$CM] $CM* $BB; # BB x .
563 [^$CB] $CM* $BB; #
568 $CM* $IN $CM* $ALPlus;
569 $CM* $IN $CM* $ID;
570 $CM* $IN $CM* $IN;
571 $CM* $IN $CM* $NU;
574 $CM* $PO $CM* $ID;
575 $CM* $NU $CM* $ALPlus;
576 $CM* $ALPlus $CM* $NU;
579 $CM* $ID $CM* $PR;
580 $CM* $ALPlus $CM* $PR;
581 $CM* $ALPlus $CM* $PO;
585 ($CM* ($PR | $PO))? ($CM* ($CL | $CP))? ($CM* ($NU | $IS | $SY))* $CM* $NU ($CM* ($OP | $HY))? ($CM…
588 $CM* ($H3 | $H2 | $JV | $JL) $CM* $JL;
589 $CM* ($JT | $JV) $CM* ($H2 | $JV);
590 $CM* $JT $CM* ($H3 | $JT);
593 $CM* $IN $CM* ($H3 | $H2 | $JT | $JV | $JL);
594 $CM* $PO $CM* ($H3 | $H2 | $JT | $JV | $JL);
595 $CM* ($H3 | $H2 | $JT | $JV | $JL) $CM* $PR;
598 $CM* $ALPlus $CM* $ALPlus;
602 $CM* $ALPlus $CM* $IS;
605 $CM* $OP $CM* ($ALPlus | $NU);
606 $CM* ($ALPlus | $NU) $CM* $CP;
609 $CM* $ALPlus ($HY | $HH) $CM* $HL;
616 $CM+ [^$CM $BK $CR $LF $NL $ZW $SP];
617 $CM+ $SP / .;
620 $SP+ $CM* $OP;
623 $SP+ $CM* $QU;
626 $SP+ $CM* ($CL | $CP);
629 $SP+ $CM* $B2;
632 ($CM* ($IS | $SY))+ $CM* $NU;
633 ($CL | $CP) $CM* ($NU | $IS | $SY);
651 [$CM $OP $QU $CL $CP $B2 $PR $HY $SP $dictionary]+ [^$CM $OP $QU $CL $CP $B2 $PR $HY $dictionary];