aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arabluatex_fullvoc.lua18
-rw-r--r--arabluatex_voc.lua18
2 files changed, 22 insertions, 14 deletions
diff --git a/arabluatex_fullvoc.lua b/arabluatex_fullvoc.lua
index ca62308..d5ca11a 100644
--- a/arabluatex_fullvoc.lua
+++ b/arabluatex_fullvoc.lua
@@ -149,18 +149,22 @@ hamzafv = {
149 -- middle 149 -- middle
150 {a="([UIwy])(')", b="%1ء"}, --new 150 {a="([UIwy])(')", b="%1ء"}, --new
151 -- {a="([Iy])(')", b="%1ئ"}, --included in the above line 151 -- {a="([Iy])(')", b="%1ئ"}, --included in the above line
152 {a="([^uai])(')([uU])", b="%1ؤ%3"}, 152 -- hamza is alone after letters of prolongation or sukūn
153 {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, 153 -- {a="([^uai])(')([uU])", b="%1ؤ%3"},
154 {a="([^uai])(')([iI])", b="%1ئ%3"}, 154 -- {a="([^uai])(')(%_?[aAY])", b="%1أ%3"},
155 {a="(u)(')([uU])", b="%1ؤ%3"}, 155 -- {a="([^uai])(')([iI])", b="%1ئ%3"},
156 {a="([^uai])(')(%_?[uaiUAYI])", b="%1ء%3"},
157 {a="(u)(')([UI])", b="%1ء%3"},
158 {a="(u)(')([u])", b="%1ؤ%3"},
156 {a="(u)(')(%_?[aAY])", b="%1ؤ%3"}, 159 {a="(u)(')(%_?[aAY])", b="%1ؤ%3"},
157 {a="(u)(')([iI])", b="%1ئ%3"}, 160 {a="(u)(')([i])", b="%1ئ%3"},
158 {a="(a)(')(%_?[aAY])", b="%1أ%3"}, 161 {a="(a)(')(%_?[aAY])", b="%1أ%3"},
159 {a="(a)(')([uU])", b="%1ؤ%3"}, 162 {a="(a)(')([uU])", b="%1ؤ%3"},
160 {a="(a)(')([iI])", b="%1ئ%3"}, 163 {a="(a)(')([iI])", b="%1ئ%3"},
164 {a="(i)(')([UI])", b="%1ء%3"},
161 {a="(i)(')(%_?[aAY])", b="%1ئ%3"}, 165 {a="(i)(')(%_?[aAY])", b="%1ئ%3"},
162 {a="(i)(')([uU])", b="%1ئ%3"}, 166 {a="(i)(')([u])", b="%1ئ%3"},
163 {a="(i)(')([iI])", b="%1ئ%3"}, 167 {a="(i)(')([i])", b="%1ئ%3"},
164 {a="(a)(')([^uaiUAI])", b="%1أْ%3"}, 168 {a="(a)(')([^uaiUAI])", b="%1أْ%3"},
165 {a="(u)(')([^uaiUAI])", b="%1ؤْ%3"}, 169 {a="(u)(')([^uaiUAI])", b="%1ؤْ%3"},
166 {a="(i)(')([^uaiUAI])", b="%1ئْ%3"} 170 {a="(i)(')([^uaiUAI])", b="%1ئْ%3"}
diff --git a/arabluatex_voc.lua b/arabluatex_voc.lua
index 54c324c..9b2a31c 100644
--- a/arabluatex_voc.lua
+++ b/arabluatex_voc.lua
@@ -276,18 +276,22 @@ hamza = {
276 -- middle 276 -- middle
277 {a="([UIwy])(')", b="%1ء"}, --new 277 {a="([UIwy])(')", b="%1ء"}, --new
278 -- {a="([Iy])(')", b="%1ئ"}, -- included in the above line 278 -- {a="([Iy])(')", b="%1ئ"}, -- included in the above line
279 {a="([^uai])(')([uU])", b="%1ؤ%3"}, 279 -- hamza is alone after letters of prolongation or sukūn
280 {a="([^uai])(')(%_?[aAY])", b="%1أ%3"}, 280 -- {a="([^uai])(')([uU])", b="%1ؤ%3"},
281 {a="([^uai])(')([iI])", b="%1ئ%3"}, 281 -- {a="([^uai])(')(%_?[aAY])", b="%1أ%3"},
282 {a="(u)(')([uU])", b="%1ؤ%3"}, 282 -- {a="([^uai])(')([iI])", b="%1ئ%3"},
283 {a="([^uai])(')(%_?[uaiUAYI])", b="%1ء%3"},
284 {a="(u)(')([UI])", b="%1ء%3"},
285 {a="(u)(')([u])", b="%1ؤ%3"},
283 {a="(u)(')(%_?[aAY])", b="%1ؤ%3"}, 286 {a="(u)(')(%_?[aAY])", b="%1ؤ%3"},
284 {a="(u)(')([iI])", b="%1ئ%3"}, 287 {a="(u)(')([i])", b="%1ئ%3"},
285 {a="(a)(')(%_?[aAY])", b="%1أ%3"}, 288 {a="(a)(')(%_?[aAY])", b="%1أ%3"},
286 {a="(a)(')([uU])", b="%1ؤ%3"}, 289 {a="(a)(')([uU])", b="%1ؤ%3"},
287 {a="(a)(')([iI])", b="%1ئ%3"}, 290 {a="(a)(')([iI])", b="%1ئ%3"},
291 {a="(i)(')([UI])", b="%1ء%3"},
288 {a="(i)(')(%_?[aAY])", b="%1ئ%3"}, 292 {a="(i)(')(%_?[aAY])", b="%1ئ%3"},
289 {a="(i)(')([uU])", b="%1ئ%3"}, 293 {a="(i)(')([u])", b="%1ئ%3"},
290 {a="(i)(')([iI])", b="%1ئ%3"}, 294 {a="(i)(')([i])", b="%1ئ%3"},
291 {a="(a)(')([^uaiUAI])", b="%1أ%3"}, 295 {a="(a)(')([^uaiUAI])", b="%1أ%3"},
292 {a="(u)(')([^uaiUAI])", b="%1ؤ%3"}, 296 {a="(u)(')([^uaiUAI])", b="%1ؤ%3"},
293 {a="(i)(')([^uaiUAI])", b="%1ئ%3"} 297 {a="(i)(')([^uaiUAI])", b="%1ئ%3"}