From b739b274bd9c91dfca81f866d6085a3866d80f56 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Wed, 2 Aug 2017 00:43:05 +0200 Subject: still wrong. hopefully fixed now --- 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 4a65342..9271417 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)%-\'[^uaiUAI]", b="%1أْ"}, + {a="([wf]a)%-\'([^uaiUAIl][^%-])", b="%1أْ%2"}, {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)%-\'[^uaiUAI]", b="%1أْ"}, + {a="([wf]a)%-\'([^uaiUAIl][^%-])", b="%1أْ%2"}, {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 6af6504..10c7879 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)%-\'[^uaiUAI]", b="%1أْ"}, + {a="([wf]a)%-\'([^uaiUAIl][^%-])", b="%1أْ%2"}, {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)%-\'[^uaiUAI]", b="%1أْ"}, + {a="([wf]a)%-\'([^uaiUAIl][^%-])", b="%1أْ%2"}, {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