1 # © 2016 and later: Unicode, Inc. and others.
2 # License & terms of use: http://www.unicode.org/copyright.html#License
4 # File: InterIndic_Arabic.txt
8 $nonword = [^\uE000-\uE0FF];
9 $wordBoundary = [^[:L:][:M:][:N:]];
10 \uE015\uE03F\uE02F\uE03E } $nonword→كيا; # किया
11 \uE026\uE03F\uE02F\uE03E } $nonword→ديا; # दिया
12 \uE015\uE03F } $nonword→كي; # कि at word end
13 \uE039\uE048→هي; # ह\u0948
14 \uE001 } $nonword→ن; # chandrabindu at end to noon
15 \uE001→ن; # chandrabindu not at end to noon
16 \uE002 } $nonword→ن; # anusvara to noon at end
17 \uE002→ن; # anusvara to noon \u0902
18 \uE003→ه ا; # viarga to ha + alif ः
19 \uE004→ا; # short a to alif ऄ
21 \uE006→ا \u0653; # alif with mad आ
22 [[:L:][:M:]] {\uE007}→ي; # इ after another letter or mark
23 \uE007→إ; # इ at beginning of word
24 [[:L:][:M:]] {\uE008}→ي; # ई after another letter or mark
25 \uE008→إ; # ई at beginning of word
32 $wordBoundary {\uE00F} → إي; # word-initial ए
33 \uE00F } $nonword→ي; # ए use ي when at end
34 \uE00F→ي; # ए use ي when not at end
35 \uE010 } $nonword→ا ي; # ऐ use ي when at end
36 \uE010→ا ي; # ऐ use ي when not at end
89 \uE047 } $nonword→ي; # \u0947 use ي when at end
90 \uE047→ي; # \u0947 use ي when not at end
91 \uE048 } $nonword→ا ي; # \u0948 use ي when at end
92 \uE048→ا ي; # \u0948 use ي when not at end
129 # Remove sequences of alif characters.
130 # For example, transform पाओला → بااولا → باولا.
132 $alif = [أإآا] [:M:]*;