From 91a63e1bf26fa4522b731b71e2452c0593eed119 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Fri, 11 Aug 2017 11:27:06 +0200 Subject: remove the trailing comma in case there are only two uncertain vowels --- arabluatex_trans.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arabluatex_trans.lua b/arabluatex_trans.lua index 663cdf6..e4296e9 100644 --- a/arabluatex_trans.lua +++ b/arabluatex_trans.lua @@ -445,7 +445,8 @@ longvtrdmg = { } shortvtrdmg = { - {a="([uai])([uai])([uai]?)", b="/%1,%2,%3/"}, + {a="([uai])([uai])([uai])", b="/%1,%2,%3/"}, + {a="([uai])([uai])", b="/%1,%2/"}, {a="u", b="u"}, {a="a", b="a"}, {a="i", b="i"} @@ -701,7 +702,8 @@ longvtrloc = { } shortvtrloc = { - {a="([uai])([uai])([uai]?)", b="/%1,%2,%3/"}, + {a="([uai])([uai])([uai])", b="/%1,%2,%3/"}, + {a="([uai])([uai])", b="/%1,%2/"}, {a="u", b="u"}, {a="a", b="a"}, {a="i", b="i"} -- cgit v1.2.3