From 65795e3ca246bf65b3cb53e3fe65eca312774e3e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 5 Jan 2018 18:03:00 +0000 Subject: [PATCH] [khmer] Simplify grammar some more Numbers down (from 38): KHMER: 299090 out of 299124 tests passed. 34 failed (0.0113665%) --- src/hb-ot-shape-complex-khmer-machine.rl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-khmer-machine.rl b/src/hb-ot-shape-complex-khmer-machine.rl index 56ec0f298..f127b17c2 100644 --- a/src/hb-ot-shape-complex-khmer-machine.rl +++ b/src/hb-ot-shape-complex-khmer-machine.rl @@ -57,7 +57,7 @@ n = ((ZWNJ?.RS)? (N.N?)?); # is_consonant_modifier z = ZWJ|ZWNJ; # is_joiner cn = c.ZWJ?.n?; -matra_group = z?.M.N?.Coeng?; +matra_group = z?.M.N?; syllable_tail = (SM.SM?)? A{0,3}?; halant_group = Coeng; halant_or_matra_group = (matra_group*) (Coeng (cn|V))?;