• Home
  • Raw
  • Download

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.
72 $CM = [:LineBreak = Combining_Mark:];
119 # Combining Marks. X $CM* behaves as if it were X. Rule LB6.
121 $ALcm = $ALPlus $CM*;
122 $BAcm = $BA $CM*;
123 $BBcm = $BB $CM*;
124 $B2cm = $B2 $CM*;
125 $CLcm = $CL $CM*;
126 $CPcm = $CP $CM*;
127 $EXcm = $EX $CM*;
128 $GLcm = $GL $CM*;
129 $HYcm = $HY $CM*;
130 $H2cm = $H2 $CM*;
131 $H3cm = $H3 $CM*;
132 $IDcm = $ID $CM*;
133 $INcm = $IN $CM*;
134 $IScm = $IS $CM*;
135 $JLcm = $JL $CM*;
136 $JVcm = $JV $CM*;
137 $JTcm = $JT $CM*;
138 $NScm = $NS $CM*;
139 $NUcm = $NU $CM*;
140 $OPcm = $OP $CM*;
141 $POcm = $PO $CM*;
142 $PRcm = $PR $CM*;
143 $QUcm = $QU $CM*;
144 $SYcm = $SY $CM*;
145 $WJcm = $WJ $CM*;
154 $ALPlus $CM+;
155 $BA $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 $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 | $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.
397 $CM+ $ALPlus;
398 $CM+ $BA;
399 $CM+ $BB;
400 $CM+ $B2;
401 $CM+ $CL;
402 $CM+ $CP;
403 $CM+ $EX;
404 $CM+ $GL;
405 $CM+ $HY;
406 $CM+ $H2;
407 $CM+ $H3;
408 $CM+ $ID;
409 $CM+ $IN;
410 $CM+ $IS;
411 $CM+ $JL;
412 $CM+ $JV;
413 $CM+ $JT;
414 $CM+ $NS;
415 $CM+ $NU;
416 $CM+ $OP;
417 $CM+ $PO;
418 $CM+ $PR;
419 $CM+ $QU;
420 $CM+ $SY;
421 $CM+ $WJ;
422 $CM+;
427 # [CANT_CM] <break> [CM] [whatever]
428 # The CM needs to behave as an AL
430 $AL_FOLLOW $CM+ / (
432 $SP+ $CM+ $SP |
433 … $SP+ $CM* ([^$OP $CM $SP] | [$AL {eof}])); # if LB 14 will match, need to surpress this break.
436 # becomes OP SP* x CM+ AL_FOLLOW
444 # [CANT_CM] <break> [CM] <break> [PR]
445 # The CM needs to behave as an AL
449 [$PR ] / $CM+ [$BK $CR $LF $NL $ZW $SP {eof}];
455 $LB4Breaks [$LB4NonBreaks-$CM];
456 $LB4Breaks $CM+ $CAN_CM;
462 [$SP $ZW] [$LB4NonBreaks-$CM];
463 [$SP $ZW] $CM+ $CAN_CM;
471 # X $CM needs to behave like X, where X is not $SP or controls.
472 # $CM not covered by the above needs to behave like $AL
474 $CM+ $CAN_CM;
478 $CM* $WJ $CM* $CAN_CM;
479 $CM* $WJ [$LB8NonBreaks-$CM];
481 $CANT_CM $CM* $WJ;
482 $CM* $CAN_CM $CM* $WJ;
487 $CM* $GL $CM* [$LB8NonBreaks-[$CM $SP $BA $HY]];
492 $CANT_CM $CM* $GL;
493 $CM* $CAN_CM $CM* $GL;
497 $CL $CM+ $CAN_CM;
498 $CP $CM+ $CAN_CM;
499 $EX $CM+ $CAN_CM;
500 $IS $CM+ $CAN_CM;
501 $SY $CM+ $CAN_CM;
503 $CL [$LB8NonBreaks-$CM];
504 $CP [$LB8NonBreaks-$CM];
505 $EX [$LB8NonBreaks-$CM];
506 $IS [$LB8NonBreaks-$CM];
507 $SY [$LB8NonBreaks-$CM];
511 # OP SP+ ($CM+ behaving as $AL) (CL | CP | EX | IS | IY)
512 # This really wants to chain at the $CM+ (which is acting as an $AL)
513 # except for $CM chaining being disabled.
514 [$CL $CP $EX $IS $SY] $CM+ $SP+ $CM* $OP;
518 $CM* $CAN_CM $SP* $CM* $OP;
519 $CANT_CM $SP* $CM* $OP;
520 $AL_FOLLOW? $CM+ $SP $SP* $CM* $OP; # by LB 10, behaves like $AL_FOLLOW? $AL $SP* $CM* $OP
522 $AL_FOLLOW_NOCM $CM+ $SP+ $CM* $OP;
523 $CM* $AL_FOLLOW_CM $CM+ $SP+ $CM* $OP;
524 $SY $CM $SP+ $OP; # TODO: Experiment. Remove.
529 $CM* $OP $SP* $CM* $QU;
532 $CM* $NS $SP* $CM* ($CL | $CP);
535 $CM* $B2 $SP* $CM* $B2;
544 $CM* $QU $CM* $CAN_CM; # . x QU
545 $CM* $QU $LB18NonBreaks;
548 $CM* $CAN_CM $CM* $QU; # QU x .
549 $CANT_CM $CM* $QU;
557 $CM* ($BA | $HY | $NS) $CM* [$LB20NonBreaks-$CM]; # . x (BA | HY | NS)
559 $CM* [$LB20NonBreaks-$CM] $CM* $BB; # BB x .
560 [^$CB] $CM* $BB; #
565 $CM* $IN $CM* $ALPlus;
566 $CM* $IN $CM* $ID;
567 $CM* $IN $CM* $IN;
568 $CM* $IN $CM* $NU;
571 $CM* $PO $CM* $ID;
572 $CM* $NU $CM* $ALPlus;
573 $CM* $ALPlus $CM* $NU;
576 $CM* $ID $CM* $PR;
577 $CM* $ALPlus $CM* $PR;
578 $CM* $ALPlus $CM* $PO;
582 ($CM* ($PR | $PO))? ($CM* ($CL | $CP))? ($CM* ($NU | $IS | $SY))* $CM* $NU ($CM* ($OP | $HY))? ($CM
585 $CM* ($H3 | $H2 | $JV | $JL) $CM* $JL;
586 $CM* ($JT | $JV) $CM* ($H2 | $JV);
587 $CM* $JT $CM* ($H3 | $JT);
590 $CM* $IN $CM* ($H3 | $H2 | $JT | $JV | $JL);
591 $CM* $PO $CM* ($H3 | $H2 | $JT | $JV | $JL);
592 $CM* ($H3 | $H2 | $JT | $JV | $JL) $CM* $PR;
595 $CM* $ALPlus $CM* $ALPlus;
599 $CM* $ALPlus $CM* $IS;
602 $CM* $OP $CM* ($ALPlus | $NU);
603 $CM* ($ALPlus | $NU) $CM* $CP;
611 $CM+ [^$CM $BK $CR $LF $NL $ZW $SP];
612 $CM+ $SP / .;
615 $SP+ $CM* $OP;
618 $SP+ $CM* $QU;
621 $SP+ $CM* ($CL | $CP);
624 $SP+ $CM* $B2;
627 ($CM* ($IS | $SY))+ $CM* $NU;
628 ($CL | $CP) $CM* ($NU | $IS | $SY);
646 [$CM $OP $QU $CL $CP $B2 $PR $HY $SP $dictionary]+ [^$CM $OP $QU $CL $CP $B2 $PR $HY $dictionary];