From 55779240d7a3cfd138a8de14a877f715d0202afa Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 2 Aug 2017 00:02:49 +0200 Subject: the rule set in the preceding commit was incomplete. fixed --- arabluatex_fullvoc.lua | 4 ++-- arabluatex_voc.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua index 62efaa9..4a65342 100644 --- a/arabluatex_fullvoc.lua +++ b/arabluatex_fullvoc.lua @@ -59,7 +59,7 @@ hamzafv = { -- taḫfīfu 'l-hamza {a="'u'([^uaiUAI])", b="أU%1"}, {a="'i'([^uaiUAI])", b="إI%1"}, - {a="([wf]a)%-\'", b="%1أْ"}, + {a="([wf]a)%-\'[^uaiUAI]", b="%1أْ"}, {a="^u'([^uaiUAI])", b="اU%1"}, {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, {a="^i'([^uaiUAI])", b="اI%1"}, @@ -185,7 +185,7 @@ hamzafveasy = { -- differences marked below with 'easy' -- taḫfīfu 'l-hamza {a="'u'([^uaiUAI])", b="أU%1"}, {a="'i'([^uaiUAI])", b="إI%1"}, - {a="([wf]a)%-\'", b="%1أْ"}, + {a="([wf]a)%-\'[^uaiUAI]", b="%1أْ"}, {a="^u'([^uaiUAI])", b="اU%1"}, {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, {a="^i'([^uaiUAI])", b="اI%1"}, diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua index e2b946c..6af6504 100644 --- a/arabluatex_voc.lua +++ b/arabluatex_voc.lua @@ -195,7 +195,7 @@ hamza = { -- taḫfīfu 'l-hamza {a="'u'([^uaiUAI])", b="أU%1"}, {a="'i'([^uaiUAI])", b="إI%1"}, - {a="([wf]a)%-\'", b="%1أْ"}, + {a="([wf]a)%-\'[^uaiUAI]", b="%1أْ"}, {a="^u'([^uaiUAI])", b="اU%1"}, {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, {a="^i'([^uaiUAI])", b="اI%1"}, @@ -312,7 +312,7 @@ hamzaeasy = { -- differences marked below with 'easy' -- taḫfīfu 'l-hamza {a="'u'([^uaiUAI])", b="أU%1"}, {a="'i'([^uaiUAI])", b="إI%1"}, - {a="([wf]a)%-\'", b="%1أْ"}, + {a="([wf]a)%-\'[^uaiUAI]", b="%1أْ"}, {a="^u'([^uaiUAI])", b="اU%1"}, {a="([^uaiUAIYN][%s%(%[%<])u'([^uaiUAI])", b="%1اU%2"}, {a="^i'([^uaiUAI])", b="اI%1"}, -- cgit v1.2.3