diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl index c187e9347af801fb62d1e8e4d0a7a47f56e79522..e0c765c43c7aac9074e63df47d92b3ae6d39adbc 100644 --- a/src/hb-ot-shape-complex-khmer-machine.rl +++ b/src/hb-ot-shape-complex-khmer-machine.rl @@ -73,7 +73,7 @@ place_holder = PLACEHOLDER | DOTTEDCIRCLE; halant_group = (z?.Coeng.(ZWJ.N?)?); final_halant_group = halant_group | Coeng.ZWNJ; medial_group = CM?; -halant_or_matra_group = (final_halant_group | (Coeng.ZWJ)? matra_group{0,4}) (Coeng (cn|V))?; +halant_or_matra_group = (final_halant_group | (Coeng.ZWJ)? matra_group{0,4}) (Coeng (cn|V)?)?; consonant_syllable = (Repha|CS)? (cn.halant_group){0,4} cn medial_group halant_or_matra_group syllable_tail;