1 |
wakaba |
1.2 |
## This file is auto-generated (at 2008-11-24T04:21:25Z). |
2 |
wakaba |
1.1 |
## Do not edit by hand! |
3 |
|
|
use strict; |
4 |
|
|
|
5 |
|
|
package Char::Class::ISOIECTR10176; |
6 |
|
|
our $VERSION = '1.01'; |
7 |
|
|
|
8 |
|
|
use Exporter; |
9 |
|
|
use vars qw(@EXPORT_OK @ISA $VERSION); |
10 |
|
|
@ISA = qw(Exporter); |
11 |
|
|
|
12 |
|
|
=head1 NAME |
13 |
|
|
|
14 |
|
|
Char::Class::ISOIECTR10176 - Regular Expression Character Classes - C<ISOIECTR10176> |
15 |
|
|
|
16 |
|
|
=head1 DESCRIPTION |
17 |
|
|
|
18 |
|
|
Recommended extended repertoire for user-defined Identifier, |
19 |
|
|
defined by ISO/IEC TR 10176:1998 Annex A. |
20 |
|
|
|
21 |
|
|
ISO/IEC TR 10176:1998 Annex A says: |
22 |
|
|
|
23 |
|
|
The repertoire recommended consists of characters that |
24 |
|
|
are used to write different natural langauges of the world, |
25 |
|
|
and consists of letters, ideographic and syllabic characters, |
26 |
|
|
digits, and some marks. |
27 |
|
|
|
28 |
|
|
Attention is drawn to that using extended repertoire for |
29 |
|
|
identifiers may impact source code portability. |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
=cut |
33 |
|
|
|
34 |
|
|
sub import ($;@) { |
35 |
|
|
my ($self, @sub) = (shift, @_); |
36 |
|
|
for (@sub) { |
37 |
|
|
no strict 'refs'; |
38 |
|
|
*{'main::'.$_} = \&{$_}; |
39 |
|
|
} |
40 |
|
|
$Exporter::ExportLevel = 1; |
41 |
|
|
$self->SUPER::import (@_); |
42 |
|
|
$Exporter::ExportLevel = 0; |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
@EXPORT_OK = qw(InISOIECTR10176Arabic InISOIECTR10176Armenian InISOIECTR10176Bengali InISOIECTR10176Bopomofo InISOIECTR10176CJKUnifiedIdeographs InISOIECTR10176Cyrillic InISOIECTR10176Devanagari InISOIECTR10176Digits InISOIECTR10176Georian InISOIECTR10176Greek InISOIECTR10176Gujarati InISOIECTR10176Gurmukhi InISOIECTR10176Hangul InISOIECTR10176Hebrew InISOIECTR10176Hiragana InISOIECTR10176Kannada InISOIECTR10176Katakana InISOIECTR10176Lao InISOIECTR10176Latin InISOIECTR10176Malayalam InISOIECTR10176Oriya InISOIECTR10176Special InISOIECTR10176Tamil InISOIECTR10176Telugur InISOIECTR10176Thai InISOIECTR10176Tibetan); |
46 |
|
|
|
47 |
|
|
sub InISOIECTR10176Arabic { |
48 |
|
|
<<EOH; |
49 |
|
|
0621 063A |
50 |
|
|
0640 0652 |
51 |
|
|
0670 06B7 |
52 |
|
|
06BA 06BE |
53 |
|
|
06C0 06CE |
54 |
|
|
06D0 06DC |
55 |
|
|
06E5 06E8 |
56 |
|
|
06EA 06ED |
57 |
|
|
EOH |
58 |
|
|
} |
59 |
|
|
|
60 |
|
|
sub InISOIECTR10176Armenian { |
61 |
|
|
<<EOH; |
62 |
|
|
0531 0556 |
63 |
|
|
0561 0587 |
64 |
|
|
EOH |
65 |
|
|
} |
66 |
|
|
|
67 |
|
|
sub InISOIECTR10176Bengali { |
68 |
|
|
<<EOH; |
69 |
|
|
0981 0983 |
70 |
|
|
0985 098C |
71 |
|
|
098F 0990 |
72 |
|
|
0993 09A8 |
73 |
|
|
09AA 09B0 |
74 |
|
|
09B2 |
75 |
|
|
09B6 09B9 |
76 |
|
|
09BE 09C4 |
77 |
|
|
09C7 09C8 |
78 |
|
|
09CB 09CD |
79 |
|
|
09DC 09DD |
80 |
|
|
09DF 09E3 |
81 |
|
|
09F0 09F1 |
82 |
|
|
EOH |
83 |
|
|
} |
84 |
|
|
|
85 |
|
|
sub InISOIECTR10176Bopomofo { |
86 |
|
|
<<EOH; |
87 |
|
|
3105 312C |
88 |
|
|
EOH |
89 |
|
|
} |
90 |
|
|
|
91 |
|
|
sub InISOIECTR10176CJKUnifiedIdeographs { |
92 |
|
|
<<EOH; |
93 |
|
|
0030 |
94 |
|
|
0030 |
95 |
|
|
0034 |
96 |
|
|
0035 |
97 |
|
|
0039 |
98 |
|
|
0041 |
99 |
|
|
0045 |
100 |
|
|
0046 |
101 |
|
|
EOH |
102 |
|
|
} |
103 |
|
|
|
104 |
|
|
sub InISOIECTR10176Cyrillic { |
105 |
|
|
<<EOH; |
106 |
|
|
0401 040C |
107 |
|
|
040E 040F |
108 |
|
|
0451 045C |
109 |
|
|
045E 0481 |
110 |
|
|
0490 04C4 |
111 |
|
|
04C7 04C8 |
112 |
|
|
04CB 04CC |
113 |
|
|
04D0 04EB |
114 |
|
|
04EE 04F5 |
115 |
|
|
04F8 04F9 |
116 |
|
|
EOH |
117 |
|
|
} |
118 |
|
|
|
119 |
|
|
sub InISOIECTR10176Devanagari { |
120 |
|
|
<<EOH; |
121 |
|
|
0901 0903 |
122 |
|
|
0905 0939 |
123 |
|
|
093E 094D |
124 |
|
|
0950 0952 |
125 |
|
|
0958 0963 |
126 |
|
|
EOH |
127 |
|
|
} |
128 |
|
|
|
129 |
|
|
sub InISOIECTR10176Digits { |
130 |
|
|
<<EOH; |
131 |
|
|
0030 0039 |
132 |
|
|
0660 0669 |
133 |
|
|
06F0 06F9 |
134 |
|
|
0966 096F |
135 |
|
|
09E6 09EF |
136 |
|
|
0A66 0A6F |
137 |
|
|
0AE6 0AEF |
138 |
|
|
0B66 0B6F |
139 |
|
|
0BE7 0BEF |
140 |
|
|
0C66 0C6F |
141 |
|
|
0CE6 0CEF |
142 |
|
|
0D66 0D6F |
143 |
|
|
0E50 0E59 |
144 |
|
|
0ED0 0ED9 |
145 |
|
|
0F20 0F33 |
146 |
|
|
EOH |
147 |
|
|
} |
148 |
|
|
|
149 |
|
|
sub InISOIECTR10176Georian { |
150 |
|
|
<<EOH; |
151 |
|
|
10A0 10C5 |
152 |
|
|
10D0 10F6 |
153 |
|
|
EOH |
154 |
|
|
} |
155 |
|
|
|
156 |
|
|
sub InISOIECTR10176Greek { |
157 |
|
|
<<EOH; |
158 |
|
|
0386 |
159 |
|
|
0388 038A |
160 |
|
|
038C |
161 |
|
|
038E 03A1 |
162 |
|
|
03A3 03CE |
163 |
|
|
03D0 03D6 |
164 |
|
|
03DA |
165 |
|
|
03DC |
166 |
|
|
03DE |
167 |
|
|
03E0 |
168 |
|
|
03E2 03F3 |
169 |
|
|
1F00 1F15 |
170 |
|
|
1F18 1F1D |
171 |
|
|
1F20 1F45 |
172 |
|
|
1F48 1F4D |
173 |
|
|
1F50 1F57 |
174 |
|
|
1F79 |
175 |
|
|
1F5B |
176 |
|
|
1F5D |
177 |
|
|
1F5F 1F7D |
178 |
|
|
1F80 1FB4 |
179 |
|
|
1FB6 1FBC |
180 |
|
|
1FC2 1FC4 |
181 |
|
|
1FC6 1FCC |
182 |
|
|
1FD0 1FD3 |
183 |
|
|
1FD6 1FDB |
184 |
|
|
1FE0 1FEC |
185 |
|
|
1FF2 1FF4 |
186 |
|
|
1FF6 1FFC |
187 |
|
|
EOH |
188 |
|
|
} |
189 |
|
|
|
190 |
|
|
sub InISOIECTR10176Gujarati { |
191 |
|
|
<<EOH; |
192 |
|
|
0A81 0A83 |
193 |
|
|
0A85 0A8B |
194 |
|
|
0A8D |
195 |
|
|
0A8F 0A91 |
196 |
|
|
0A93 0AA8 |
197 |
|
|
0AAA 0AB0 |
198 |
|
|
0AB2 0AB3 |
199 |
|
|
0AB5 0AB9 |
200 |
|
|
0ABD 0AC5 |
201 |
|
|
0AC7 0AC9 |
202 |
|
|
0ACB 0ACD |
203 |
|
|
0AD0 |
204 |
|
|
0AE0 |
205 |
|
|
EOH |
206 |
|
|
} |
207 |
|
|
|
208 |
|
|
sub InISOIECTR10176Gurmukhi { |
209 |
|
|
<<EOH; |
210 |
|
|
0A02 |
211 |
|
|
0A05 0A0A |
212 |
|
|
0A0F 0A10 |
213 |
|
|
0A13 0A28 |
214 |
|
|
0A2A 0A30 |
215 |
|
|
0A32 0A33 |
216 |
|
|
0A35 0A36 |
217 |
|
|
0A38 0A39 |
218 |
|
|
0A3E 0A42 |
219 |
|
|
0A47 |
220 |
|
|
0A48 |
221 |
|
|
0A4B 0A4D |
222 |
|
|
0A59 0A5C |
223 |
|
|
0A5E |
224 |
|
|
0A74 |
225 |
|
|
EOH |
226 |
|
|
} |
227 |
|
|
|
228 |
|
|
sub InISOIECTR10176Hangul { |
229 |
|
|
<<EOH; |
230 |
|
|
002D |
231 |
|
|
0030 |
232 |
|
|
0030 |
233 |
|
|
0033 |
234 |
|
|
0037 |
235 |
|
|
0041 |
236 |
|
|
0041 |
237 |
|
|
0043 |
238 |
|
|
0044 |
239 |
|
|
EOH |
240 |
|
|
} |
241 |
|
|
|
242 |
|
|
sub InISOIECTR10176Hebrew { |
243 |
|
|
<<EOH; |
244 |
|
|
05B0 05B9 |
245 |
|
|
05BB 05BD |
246 |
|
|
05BF |
247 |
|
|
05C1 05C2 |
248 |
|
|
05D0 05EA |
249 |
|
|
05F0 05F2 |
250 |
|
|
EOH |
251 |
|
|
} |
252 |
|
|
|
253 |
|
|
sub InISOIECTR10176Hiragana { |
254 |
|
|
<<EOH; |
255 |
|
|
3041 3093 |
256 |
|
|
309B 309C |
257 |
|
|
EOH |
258 |
|
|
} |
259 |
|
|
|
260 |
|
|
sub InISOIECTR10176Kannada { |
261 |
|
|
<<EOH; |
262 |
|
|
0C82 0C83 |
263 |
|
|
0C85 0C8C |
264 |
|
|
0C8E 0C90 |
265 |
|
|
0C92 0CA8 |
266 |
|
|
0CAA 0CB3 |
267 |
|
|
0CB5 0CB9 |
268 |
|
|
0CBE 0CC4 |
269 |
|
|
0CC6 0CC8 |
270 |
|
|
0CCA 0CCC |
271 |
|
|
0CCD |
272 |
|
|
0CDE |
273 |
|
|
0CE0 0CE1 |
274 |
|
|
EOH |
275 |
|
|
} |
276 |
|
|
|
277 |
|
|
sub InISOIECTR10176Katakana { |
278 |
|
|
<<EOH; |
279 |
|
|
30A1 30F6 |
280 |
|
|
30FB 30FC |
281 |
|
|
EOH |
282 |
|
|
} |
283 |
|
|
|
284 |
|
|
sub InISOIECTR10176Lao { |
285 |
|
|
<<EOH; |
286 |
|
|
0E81 0E82 |
287 |
|
|
0E84 |
288 |
|
|
0E87 0E88 |
289 |
|
|
0E8A |
290 |
|
|
0E8D |
291 |
|
|
0E94 0E97 |
292 |
|
|
0E99 0E9F |
293 |
|
|
0EA1 0EA3 |
294 |
|
|
0EA5 |
295 |
|
|
0EA7 |
296 |
|
|
0EAA 0EAB |
297 |
|
|
0EAD 0EAE |
298 |
|
|
0EB0 0EB9 |
299 |
|
|
0EBB 0EBD |
300 |
|
|
0EC0 0EC4 |
301 |
|
|
0EC6 |
302 |
|
|
0EC8 0ECD |
303 |
|
|
0EDC 0EDD |
304 |
|
|
EOH |
305 |
|
|
} |
306 |
|
|
|
307 |
|
|
sub InISOIECTR10176Latin { |
308 |
|
|
<<EOH; |
309 |
|
|
0041 005A |
310 |
|
|
0061 007A |
311 |
|
|
00AA |
312 |
|
|
00BA |
313 |
|
|
00C0 00D6 |
314 |
|
|
00D8 00F6 |
315 |
|
|
00F8 00FF |
316 |
|
|
0100 01F5 |
317 |
|
|
01FA 01FF |
318 |
|
|
0200 0217 |
319 |
|
|
0250 02A8 |
320 |
|
|
1E00 1E9B |
321 |
|
|
1EA0 1EF9 |
322 |
|
|
207F |
323 |
|
|
EOH |
324 |
|
|
} |
325 |
|
|
|
326 |
|
|
sub InISOIECTR10176Malayalam { |
327 |
|
|
<<EOH; |
328 |
|
|
0D02 0D03 |
329 |
|
|
0D05 0D0C |
330 |
|
|
0D0E 0D10 |
331 |
|
|
0D12 0D28 |
332 |
|
|
0D2A 0D39 |
333 |
|
|
0D3E 0D43 |
334 |
|
|
0D46 0D48 |
335 |
|
|
0D4A 0D4D |
336 |
|
|
0D60 0D61 |
337 |
|
|
EOH |
338 |
|
|
} |
339 |
|
|
|
340 |
|
|
sub InISOIECTR10176Oriya { |
341 |
|
|
<<EOH; |
342 |
|
|
0B01 0B03 |
343 |
|
|
0B05 0B0C |
344 |
|
|
0B0F 0B10 |
345 |
|
|
0B13 0B28 |
346 |
|
|
0B2A 0B30 |
347 |
|
|
0B32 0B33 |
348 |
|
|
0B36 0B39 |
349 |
|
|
0B3E 0B43 |
350 |
|
|
0B47 0B48 |
351 |
|
|
0B4B 0B4D |
352 |
|
|
0B5C 0B5D |
353 |
|
|
0B5F 0B61 |
354 |
|
|
EOH |
355 |
|
|
} |
356 |
|
|
|
357 |
|
|
sub InISOIECTR10176Special { |
358 |
|
|
<<EOH; |
359 |
|
|
00B5 |
360 |
|
|
00B7 |
361 |
|
|
02B0 02B8 |
362 |
|
|
02BB |
363 |
|
|
02BD 02C1 |
364 |
|
|
02D0 02D1 |
365 |
|
|
02E0 02E4 |
366 |
|
|
037A |
367 |
|
|
0359 |
368 |
|
|
093D |
369 |
|
|
0B3D |
370 |
|
|
1FBE |
371 |
|
|
203F 2040 |
372 |
|
|
2102 |
373 |
|
|
2107 |
374 |
|
|
210A 2113 |
375 |
|
|
2115 |
376 |
|
|
2118 211D |
377 |
|
|
2124 |
378 |
|
|
2126 |
379 |
|
|
2128 |
380 |
|
|
212A 2131 |
381 |
|
|
2133 2138 |
382 |
|
|
2160 2182 |
383 |
|
|
3005 3007 |
384 |
|
|
3021 3029 |
385 |
|
|
EOH |
386 |
|
|
} |
387 |
|
|
|
388 |
|
|
sub InISOIECTR10176Tamil { |
389 |
|
|
<<EOH; |
390 |
|
|
0B82 0B83 |
391 |
|
|
0B85 0B8A |
392 |
|
|
0B8E 0B90 |
393 |
|
|
0B92 0B95 |
394 |
|
|
0B99 0B9A |
395 |
|
|
0B9C |
396 |
|
|
0B9E 0B9F |
397 |
|
|
0BA3 0BA4 |
398 |
|
|
0BA8 0BAA |
399 |
|
|
0BAE 0BB5 |
400 |
|
|
0BB7 0BB9 |
401 |
|
|
0BBE 0BC2 |
402 |
|
|
0BC6 0BC8 |
403 |
|
|
0BCA 0BCD |
404 |
|
|
EOH |
405 |
|
|
} |
406 |
|
|
|
407 |
|
|
sub InISOIECTR10176Telugur { |
408 |
|
|
<<EOH; |
409 |
|
|
0C01 0C03 |
410 |
|
|
0C05 0C0C |
411 |
|
|
0C0E 0C10 |
412 |
|
|
0C12 0C28 |
413 |
|
|
0C2A 0C33 |
414 |
|
|
0C35 0C39 |
415 |
|
|
0C3E 0C44 |
416 |
|
|
0C46 0C48 |
417 |
|
|
0C4A 0C4D |
418 |
|
|
0C60 0C61 |
419 |
|
|
EOH |
420 |
|
|
} |
421 |
|
|
|
422 |
|
|
sub InISOIECTR10176Thai { |
423 |
|
|
<<EOH; |
424 |
|
|
0E01 0E3A |
425 |
|
|
0E40 0E5B |
426 |
|
|
EOH |
427 |
|
|
} |
428 |
|
|
|
429 |
|
|
sub InISOIECTR10176Tibetan { |
430 |
|
|
<<EOH; |
431 |
|
|
0F00 |
432 |
|
|
0F18 0F19 |
433 |
|
|
0F35 |
434 |
|
|
0F37 |
435 |
|
|
0F39 |
436 |
|
|
0F3E 0F47 |
437 |
|
|
0F49 0F69 |
438 |
|
|
0F71 0F84 |
439 |
|
|
0F86 0F8B |
440 |
|
|
0F90 0F95 |
441 |
|
|
0F97 |
442 |
|
|
0F99 0FAD |
443 |
|
|
0FB1 0FB7 |
444 |
|
|
0FB9 |
445 |
|
|
EOH |
446 |
|
|
} |
447 |
|
|
|
448 |
|
|
=head1 COLLECTION NAMES |
449 |
|
|
|
450 |
|
|
=over 4 |
451 |
|
|
|
452 |
|
|
=item C<InISOIECTR10176Arabic> |
453 |
|
|
|
454 |
|
|
=item C<InISOIECTR10176Armenian> |
455 |
|
|
|
456 |
|
|
=item C<InISOIECTR10176Bengali> |
457 |
|
|
|
458 |
|
|
=item C<InISOIECTR10176Bopomofo> |
459 |
|
|
|
460 |
|
|
=item C<InISOIECTR10176CJKUnifiedIdeographs> |
461 |
|
|
|
462 |
|
|
=item C<InISOIECTR10176Cyrillic> |
463 |
|
|
|
464 |
|
|
=item C<InISOIECTR10176Devanagari> |
465 |
|
|
|
466 |
|
|
=item C<InISOIECTR10176Digits> |
467 |
|
|
|
468 |
|
|
=item C<InISOIECTR10176Georian> |
469 |
|
|
|
470 |
|
|
=item C<InISOIECTR10176Greek> |
471 |
|
|
|
472 |
|
|
=item C<InISOIECTR10176Gujarati> |
473 |
|
|
|
474 |
|
|
=item C<InISOIECTR10176Gurmukhi> |
475 |
|
|
|
476 |
|
|
=item C<InISOIECTR10176Hangul> |
477 |
|
|
|
478 |
|
|
=item C<InISOIECTR10176Hebrew> |
479 |
|
|
|
480 |
|
|
=item C<InISOIECTR10176Hiragana> |
481 |
|
|
|
482 |
|
|
=item C<InISOIECTR10176Kannada> |
483 |
|
|
|
484 |
|
|
=item C<InISOIECTR10176Katakana> |
485 |
|
|
|
486 |
|
|
=item C<InISOIECTR10176Lao> |
487 |
|
|
|
488 |
|
|
=item C<InISOIECTR10176Latin> |
489 |
|
|
|
490 |
|
|
=item C<InISOIECTR10176Malayalam> |
491 |
|
|
|
492 |
|
|
=item C<InISOIECTR10176Oriya> |
493 |
|
|
|
494 |
|
|
=item C<InISOIECTR10176Special> |
495 |
|
|
|
496 |
|
|
Special characters |
497 |
|
|
|
498 |
|
|
=item C<InISOIECTR10176Tamil> |
499 |
|
|
|
500 |
|
|
=item C<InISOIECTR10176Telugur> |
501 |
|
|
|
502 |
|
|
=item C<InISOIECTR10176Thai> |
503 |
|
|
|
504 |
|
|
=item C<InISOIECTR10176Tibetan> |
505 |
|
|
|
506 |
|
|
=back |
507 |
|
|
|
508 |
|
|
=cut |
509 |
|
|
|
510 |
|
|
|
511 |
|
|
=head1 EXAMPLE |
512 |
|
|
|
513 |
|
|
use Char::Class::ISOIECTR10176; |
514 |
|
|
if ($s =~ /\p{InGujarati}/) { |
515 |
|
|
print "Match!\n"; |
516 |
|
|
} |
517 |
|
|
|
518 |
|
|
=head1 SEE ALSO |
519 |
|
|
|
520 |
|
|
ISO/IEC TR 10176:1998, "Information technology -- |
521 |
|
|
Guidelines for the preparation of programming language |
522 |
|
|
standards", ISO/IEC, 1998-09-01 (Second edition). |
523 |
|
|
|
524 |
|
|
JIS TR X 0031:2000, "Information technology -- |
525 |
|
|
Guidelines for the preparation of programming language |
526 |
|
|
standards", JISC <http://www.jisc.go.jp/>, 2000-06-01, |
527 |
|
|
will be expired on 2005-07-31. (TR type III) |
528 |
|
|
(IDT with ISO/IEC TR 10176:1998.) |
529 |
|
|
|
530 |
|
|
=head1 LICENSE |
531 |
|
|
|
532 |
wakaba |
1.2 |
Copyright 2008 Wakaba <w@suika.fam.cx> |
533 |
wakaba |
1.1 |
|
534 |
|
|
This library and the library generated by it is free software; |
535 |
|
|
you can redistribute them and/or modify them under the same |
536 |
|
|
terms as Perl itself. |
537 |
|
|
|
538 |
|
|
=cut |
539 |
|
|
|
540 |
|
|
1; |
541 |
|
|
### ISOIECTR10176.pm ends here |