56 define(
'K_LRM', 8206);
60 define(
'K_RLM', 8207);
64 define(
'K_LRE', 8234);
68 define(
'K_RLE', 8235);
72 define(
'K_PDF', 8236);
76 define(
'K_LRO', 8237);
80 define(
'K_RLO', 8238);
85 define(
'K_RE_PATTERN_RTL',
"/(
87 | \xD7[\x80\x83\x86\x90-\xAA\xB0-\xB4] # R
88 | \xDF[\x80-\xAA\xB4\xB5\xBA] # R
90 | \xEF\xAC[\x9D\x9F\xA0-\xA8\xAA-\xB6\xB8-\xBC\xBE] # R
91 | \xEF\xAD[\x80\x81\x83\x84\x86-\x8F] # R
92 | \xF0\x90\xA0[\x80-\x85\x88\x8A-\xB5\xB7\xB8\xBC\xBF] # R
93 | \xF0\x90\xA4[\x80-\x99] # R
94 | \xF0\x90\xA8[\x80\x90-\x93\x95-\x97\x99-\xB3] # R
95 | \xF0\x90\xA9[\x80-\x87\x90-\x98] # R
96 | \xE2\x80[\xAB\xAE] # RLE & RLO
103 define(
"K_RE_PATTERN_ARABIC",
"/(
104 \xD8[\x80-\x83\x8B\x8D\x9B\x9E\x9F\xA1-\xBA] # AL
105 | \xD9[\x80-\x8A\xAD-\xAF\xB1-\xBF] # AL
106 | \xDA[\x80-\xBF] # AL
107 | \xDB[\x80-\x95\x9D\xA5\xA6\xAE\xAF\xBA-\xBF] # AL
108 | \xDC[\x80-\x8D\x90\x92-\xAF] # AL
109 | \xDD[\x8D-\xAD] # AL
110 | \xDE[\x80-\xA5\xB1] # AL
111 | \xEF\xAD[\x90-\xBF] # AL
112 | \xEF\xAE[\x80-\xB1] # AL
113 | \xEF\xAF[\x93-\xBF] # AL
114 | \xEF[\xB0-\xB3][\x80-\xBF] # AL
115 | \xEF\xB4[\x80-\xBD] # AL
116 | \xEF\xB5[\x90-\xBF] # AL
117 | \xEF\xB6[\x80-\x8F\x92-\xBF] # AL
118 | \xEF\xB7[\x80-\x87\xB0-\xBC] # AL
119 | \xEF\xB9[\xB0-\xB4\xB6-\xBF] # AL
120 | \xEF\xBA[\x80-\xBF] # AL
121 | \xEF\xBB[\x80-\xBC] # AL
122 | \xD9[\xA0-\xA9\xAB\xAC] # AN
18218 1569=>array(65152),
18219 1570=>array(65153, 65154, 65153, 65154),
18220 1571=>array(65155, 65156, 65155, 65156),
18221 1572=>array(65157, 65158),
18222 1573=>array(65159, 65160, 65159, 65160),
18223 1574=>array(65161, 65162, 65163, 65164),
18224 1575=>array(65165, 65166, 65165, 65166),
18225 1576=>array(65167, 65168, 65169, 65170),
18226 1577=>array(65171, 65172),
18227 1578=>array(65173, 65174, 65175, 65176),
18228 1579=>array(65177, 65178, 65179, 65180),
18229 1580=>array(65181, 65182, 65183, 65184),
18230 1581=>array(65185, 65186, 65187, 65188),
18231 1582=>array(65189, 65190, 65191, 65192),
18232 1583=>array(65193, 65194, 65193, 65194),
18233 1584=>array(65195, 65196, 65195, 65196),
18234 1585=>array(65197, 65198, 65197, 65198),
18235 1586=>array(65199, 65200, 65199, 65200),
18236 1587=>array(65201, 65202, 65203, 65204),
18237 1588=>array(65205, 65206, 65207, 65208),
18238 1589=>array(65209, 65210, 65211, 65212),
18239 1590=>array(65213, 65214, 65215, 65216),
18240 1591=>array(65217, 65218, 65219, 65220),
18241 1592=>array(65221, 65222, 65223, 65224),
18242 1593=>array(65225, 65226, 65227, 65228),
18243 1594=>array(65229, 65230, 65231, 65232),
18244 1601=>array(65233, 65234, 65235, 65236),
18245 1602=>array(65237, 65238, 65239, 65240),
18246 1603=>array(65241, 65242, 65243, 65244),
18247 1604=>array(65245, 65246, 65247, 65248),
18248 1605=>array(65249, 65250, 65251, 65252),
18249 1606=>array(65253, 65254, 65255, 65256),
18250 1607=>array(65257, 65258, 65259, 65260),
18251 1608=>array(65261, 65262, 65261, 65262),
18252 1609=>array(65263, 65264, 64488, 64489),
18253 1610=>array(65265, 65266, 65267, 65268),
18254 1649=>array(64336, 64337),
18255 1655=>array(64477),
18256 1657=>array(64358, 64359, 64360, 64361),
18257 1658=>array(64350, 64351, 64352, 64353),
18258 1659=>array(64338, 64339, 64340, 64341),
18259 1662=>array(64342, 64343, 64344, 64345),
18260 1663=>array(64354, 64355, 64356, 64357),
18261 1664=>array(64346, 64347, 64348, 64349),
18262 1667=>array(64374, 64375, 64376, 64377),
18263 1668=>array(64370, 64371, 64372, 64373),
18264 1670=>array(64378, 64379, 64380, 64381),
18265 1671=>array(64382, 64383, 64384, 64385),
18266 1672=>array(64392, 64393),
18267 1676=>array(64388, 64389),
18268 1677=>array(64386, 64387),
18269 1678=>array(64390, 64391),
18270 1681=>array(64396, 64397),
18271 1688=>array(64394, 64395, 64394, 64395),
18272 1700=>array(64362, 64363, 64364, 64365),
18273 1702=>array(64366, 64367, 64368, 64369),
18274 1705=>array(64398, 64399, 64400, 64401),
18275 1709=>array(64467, 64468, 64469, 64470),
18276 1711=>array(64402, 64403, 64404, 64405),
18277 1713=>array(64410, 64411, 64412, 64413),
18278 1715=>array(64406, 64407, 64408, 64409),
18279 1722=>array(64414, 64415),
18280 1723=>array(64416, 64417, 64418, 64419),
18281 1726=>array(64426, 64427, 64428, 64429),
18282 1728=>array(64420, 64421),
18283 1729=>array(64422, 64423, 64424, 64425),
18284 1733=>array(64480, 64481),
18285 1734=>array(64473, 64474),
18286 1735=>array(64471, 64472),
18287 1736=>array(64475, 64476),
18288 1737=>array(64482, 64483),
18289 1739=>array(64478, 64479),
18290 1740=>array(64508, 64509, 64510, 64511),
18291 1744=>array(64484, 64485, 64486, 64487),
18292 1746=>array(64430, 64431),
18293 1747=>array(64432, 64433)
18301 $laa_array = array (
18302 1570 =>array(65269, 65270, 65269, 65270),
18303 1571 =>array(65271, 65272, 65271, 65272),
18304 1573 =>array(65273, 65274, 65273, 65274),
18305 1575 =>array(65275, 65276, 65275, 65276)
18315 $diacritics = array (
18316 1612=>64606, # Shadda + Dammatan
18317 1613=>64607, # Shadda + Kasratan
18318 1614=>64608, # Shadda + Fatha
18319 1615=>64609, # Shadda + Damma
18320 1616=>64610 # Shadda + Kasra
18327 $utf8tolatin = array (
18331 376=>159, # Ydieresis
18332 381=>142, # Zcaron2
18333 8226=>149, # bullet3
18334 710=>136, # circumflex
18335 8224=>134, # dagger
18336 8225=>135, # daggerdbl
18337 8230=>133, # ellipsis
18338 8212=>151, # emdash
18339 8211=>150, # endash
18341 8249=>139, # guilsinglleft
18342 8250=>155, # guilsinglright
18344 8240=>137, # perthousand
18345 8222=>132, # quotedblbase
18346 8220=>147, # quotedblleft
18347 8221=>148, # quotedblright
18348 8216=>145, # quoteleft
18349 8217=>146, # quoteright
18350 8218=>130, # quotesinglbase
18353 8482=>153, # trademark