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.
68 $CM = [:LineBreak = Combining_Mark:];
115 # Combining Marks. X $CM* behaves as if it were X. Rule LB6.
117 $ALcm = $ALPlus $CM*;
118 $BAcm = $BA $CM*;
119 $HHcm = $HH $CM*;
120 $BBcm = $BB $CM*;
121 $B2cm = $B2 $CM*;
122 $CLcm = $CL $CM*;
123 $CPcm = $CP $CM*;
124 $EXcm = $EX $CM*;
125 $GLcm = $GL $CM*;
126 $HYcm = $HY $CM*;
127 $H2cm = $H2 $CM*;
128 $H3cm = $H3 $CM*;
129 $IDcm = $ID $CM*;
130 $INcm = $IN $CM*;
131 $IScm = $IS $CM*;
132 $JLcm = $JL $CM*;
133 $JVcm = $JV $CM*;
134 $JTcm = $JT $CM*;
135 $NScm = $NS $CM*;
136 $NUcm = $NU $CM*;
137 $OPcm = $OP $CM*;
138 $POcm = $PO $CM*;
139 $PRcm = $PR $CM*;
140 $QUcm = $QU $CM*;
141 $SYcm = $SY $CM*;
142 $WJcm = $WJ $CM*;
151 $ALPlus $CM+;
152 $BA $CM+;
153 $HH $CM+;
154 $BB $CM+;
155 $B2 $CM+;
156 $CL $CM+;
157 $CP $CM+;
158 $EX $CM+;
159 $GL $CM+;
160 $HY $CM+;
161 $H2 $CM+;
162 $H3 $CM+;
163 $ID $CM+;
164 $IN $CM+;
165 $IS $CM+;
166 $JL $CM+;
167 $JV $CM+;
168 $JT $CM+;
169 $NS $CM+;
170 $NU $CM+;
171 $OP $CM+;
172 $PO $CM+;
173 $PR $CM+;
174 $QU $CM+;
175 $SY $CM+;
176 $WJ $CM+;
179 # CAN_CM is the set of characters that may combine with CM combining chars.
183 # Note that $CM itself is left out of this set. If CM is needed as a base
186 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
187 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
191 # Needed in rules where stand-alone $CM s are treated as AL.
192 # Chaining is disabled with CM because it causes other failures,
211 $CAN_CM $CM* $LB4Breaks {100};
212 $CM+ $LB4Breaks {100};
217 $CAN_CM $CM* [$SP $ZW];
218 $CM+ [$SP $ZW];
230 # LB 9 Combining marks. X $CM needs to behave like X, where X is not $SP, $BK $CR $LF $N…
231 # $CM not covered by the above needs to behave like $AL
234 $CAN_CM $CM+; # Stick together any combining sequences that don't match other ru…
235 $CM+;
240 $CAN_CM $CM* $WJcm;
242 $CM+ $WJcm;
245 $WJcm $CAN_CM $CM*;
251 $GLcm $CAN_CM $CM*;
258 [[$LB8NonBreaks] - [$SP $BA $HH $HY]] $CM* $GLcm;
259 $CM+ GLcm;
267 $CAN_CM $CM* $CL;
268 $CM+ $CL; # by rule 10, stand-alone CM behaves as AL
271 $CAN_CM $CM* $CP;
272 $CM+ $CP; # by rule 10, stand-alone CM behaves as AL
275 $CAN_CM $CM* $EX;
276 $CM+ $EX; # by rule 10, stand-alone CM behaves as AL
279 $CAN_CM $CM* $IS;
280 $CM+ $IS; # by rule 10, stand-alone CM behaves as AL
283 $CAN_CM $CM* $SY;
284 $CM+ $SY; # by rule 10, stand-alone CM behaves as AL
290 $OPcm $SP* $CAN_CM $CM*;
293 $OPcm $SP+ $CM+ $AL_FOLLOW?; # by rule 10, stand-alone CM behaves as AL
313 $LB18NonBreaks $CM* $QUcm;
314 $CM+ $QUcm;
318 $QUcm $LB18NonBreaks $CM*; # Don't let a combining mark go onto $CR, $BK, etc.
332 $LB20NonBreaks $CM* ($BAcm | $HHcm | $HYcm | $NScm) / $AL;
333 $LB20NonBreaks $CM* ($BAcm | $HHcm | $HYcm | $NScm);
337 $BBcm $LB20NonBreaks $CM*;
341 $CM+ $INcm; # by rule 10, any otherwise unattached CM behaves as AL
350 $CM+ $NUcm; # Rule 10, any otherwise unattached CM behaves as AL
380 $CM+ $ALcm; # The $CM+ is from rule 10, an unattached CM is treated as AL
387 $CM+ $OPcm; # The $CM+ is from rule 10, an unattached CM is treated as AL.
398 $CM+ $ALPlus;
399 $CM+ $BA;
400 $CM+ $HH;
401 $CM+ $BB;
402 $CM+ $B2;
403 $CM+ $CL;
404 $CM+ $CP;
405 $CM+ $EX;
406 $CM+ $GL;
407 $CM+ $HY;
408 $CM+ $H2;
409 $CM+ $H3;
410 $CM+ $ID;
411 $CM+ $IN;
412 $CM+ $IS;
413 $CM+ $JL;
414 $CM+ $JV;
415 $CM+ $JT;
416 $CM+ $NS;
417 $CM+ $NU;
418 $CM+ $OP;
419 $CM+ $PO;
420 $CM+ $PR;
421 $CM+ $QU;
422 $CM+ $SY;
423 $CM+ $WJ;
424 $CM+;
429 # [CANT_CM] <break> [CM] [whatever]
430 # The CM needs to behave as an AL
432 $AL_FOLLOW $CM+ / (
434 $SP+ $CM+ $SP |
435 … $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break.
438 # becomes OP SP* x CM+ AL_FOLLOW
446 # [CANT_CM] <break> [CM] <break> [PR]
447 # The CM needs to behave as an AL
451 [$PR ] / $CM+ [$BK $CR $LF $NL $ZW $SP {eof}];
457 $LB4Breaks [$LB4NonBreaks-$CM];
458 $LB4Breaks $CM+ $CAN_CM;
464 [$SP $ZW] [$LB4NonBreaks-$CM];
465 [$SP $ZW] $CM+ $CAN_CM;
473 # X $CM needs to behave like X, where X is not $SP or controls.
474 # $CM not covered by the above needs to behave like $AL
476 $CM+ $CAN_CM;
480 $CM* $WJ $CM* $CAN_CM;
481 $CM* $WJ [$LB8NonBreaks-$CM];
483 $CANT_CM $CM* $WJ;
484 $CM* $CAN_CM $CM* $WJ;
489 $CM* $GL $CM* [$LB8NonBreaks-[$CM $SP $BA $HH $HY]];
494 $CANT_CM $CM* $GL;
495 $CM* $CAN_CM $CM* $GL;
499 $CL $CM+ $CAN_CM;
500 $CP $CM+ $CAN_CM;
501 $EX $CM+ $CAN_CM;
502 $IS $CM+ $CAN_CM;
503 $SY $CM+ $CAN_CM;
505 $CL [$LB8NonBreaks-$CM];
506 $CP [$LB8NonBreaks-$CM];
507 $EX [$LB8NonBreaks-$CM];
508 $IS [$LB8NonBreaks-$CM];
509 $SY [$LB8NonBreaks-$CM];
513 # OP SP+ ($CM+ behaving as $AL) (CL | CP | EX | IS | IY)
514 # This really wants to chain at the $CM+ (which is acting as an $AL)
515 # except for $CM chaining being disabled.
516 [$CL $CP $EX $IS $SY] $CM+ $SP+ $CM* $OP;
520 $CM* $CAN_CM $SP* $CM* $OP;
521 $CANT_CM $SP* $CM* $OP;
522 $AL_FOLLOW? $CM+ $SP $SP* $CM* $OP; # by LB 10, behaves like $AL_FOLLOW? $AL $SP* $CM* $OP
524 $AL_FOLLOW_NOCM $CM+ $SP+ $CM* $OP;
525 $CM* $AL_FOLLOW_CM $CM+ $SP+ $CM* $OP;
526 $SY $CM $SP+ $OP; # TODO: Experiment. Remove.
531 $CM* $OP $SP* $CM* $QU;
534 $CM* $NS $SP* $CM* ($CL | $CP);
537 $CM* $B2 $SP* $CM* $B2;
546 $CM* $QU $CM* $CAN_CM; # . x QU
547 $CM* $QU $LB18NonBreaks;
550 $CM* $CAN_CM $CM* $QU; # QU x .
551 $CANT_CM $CM* $QU;
562 $CM* ($BA | $HH | $HY | $NS) $CM* [$LB20NonBreaks-$CM]; # . x (BA | HY | NS)
564 $CM* [$LB20NonBreaks-$CM] $CM* $BB; # BB x .
565 [^$CB] $CM* $BB; #
570 $CM* $IN $CM* $ALPlus;
571 $CM* $IN $CM* $ID;
572 $CM* $IN $CM* $IN;
573 $CM* $IN $CM* $NU;
576 $CM* $PO $CM* $ID;
577 $CM* $NU $CM* $ALPlus;
578 $CM* $ALPlus $CM* $NU;
581 $CM* $ID $CM* $PR;
582 $CM* $ALPlus $CM* $PR;
583 $CM* $ALPlus $CM* $PO;
587 ($CM* ($PR | $PO))? ($CM* ($CL | $CP))? ($CM* ($NU | $IS | $SY))* $CM* $NU ($CM* ($OP | $HY))? ($CM…
590 $CM* ($H3 | $H2 | $JV | $JL) $CM* $JL;
591 $CM* ($JT | $JV) $CM* ($H2 | $JV);
592 $CM* $JT $CM* ($H3 | $JT);
595 $CM* $IN $CM* ($H3 | $H2 | $JT | $JV | $JL);
596 $CM* $PO $CM* ($H3 | $H2 | $JT | $JV | $JL);
597 $CM* ($H3 | $H2 | $JT | $JV | $JL) $CM* $PR;
600 $CM* $ALPlus $CM* $ALPlus;
604 $CM* $ALPlus $CM* $IS;
607 $CM* $OP $CM* ($ALPlus | $NU);
608 $CM* ($ALPlus | $NU) $CM* $CP;
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];