/[suikacvs]/perl/charclass/lib/Char/Class/Hiragana.pm
Suika

Contents of /perl/charclass/lib/Char/Class/Hiragana.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Nov 24 04:25:10 2008 UTC (16 years ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
++ ChangeLog	24 Nov 2008 04:24:23 -0000
2008-11-24  Wakaba  <wakaba@suika.fam.cx>

	* mkcommitfeed.pl: New script (copied from Harusame).

	* cvscommit.sh: New script (copied from Harusame).

	* Makefile.PL: Version changed to 2.0.

++ charclass/lib/Char/ChangeLog	24 Nov 2008 01:52:26 -0000
2008-11-24  Wakaba  <wakaba@suika.fam.cx>

	* Normalize/: New directory.

++ charclass/lib/Char/Normalize/ChangeLog	24 Nov 2008 04:20:30 -0000
2008-11-24  Wakaba  <wakaba@suika.fam.cx>

	* FullwidthHalfwidth.pod: New documentation.

	* FullwidthHalfwidth.pm: New module (content from SuikaWiki4
	sw.cgi).

	* ChangeLog: New file.

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::Hiragana;
6     our $VERSION = '1.02';
7    
8     use Exporter;
9     use vars qw(@EXPORT_OK @ISA $VERSION);
10     @ISA = qw(Exporter);
11    
12     =head1 NAME
13    
14     Char::Class::Hiragana - Regular Expression Character Classes - C<Hiragana>
15    
16    
17     =cut
18    
19     sub import ($;@) {
20     my ($self, @sub) = (shift, @_);
21     for (@sub) {
22     no strict 'refs';
23     *{'main::'.$_} = \&{$_};
24     }
25     $Exporter::ExportLevel = 1;
26     $self->SUPER::import (@_);
27     $Exporter::ExportLevel = 0;
28     }
29    
30     @EXPORT_OK = qw(InHiraganaAll InHiraganaDigraph InHiraganaHatsuon InHiraganaSeion InHiraganaSemiVoiced InHiraganaSmall InHiraganaVoiced);
31    
32     sub InHiraganaAll {
33     <<EOH;
34     3041 3096
35     309D 309F
36     EOH
37     }
38    
39     sub InHiraganaDigraph {
40     <<EOH;
41     309F
42     EOH
43     }
44    
45     sub InHiraganaHatsuon {
46     <<EOH;
47     3098
48     EOH
49     }
50    
51     sub InHiraganaSeion {
52     <<EOH;
53     3042
54     3044
55     3046
56     3048
57     304A
58     304B
59     304D
60     304F
61     3051
62     3053
63     3055
64     3057
65     3059
66     305B
67     305D
68     305F
69     3061
70     3064
71     3066
72     3068
73     306A
74     306B
75     306C
76     306D
77     306E
78     306F
79     3072
80     3075
81     3078
82     307B
83     307E
84     307F
85     3080
86     3081
87     3082
88     3084
89     3086
90     3088
91     3089
92     308A
93     308B
94     308C
95     308D
96     308F
97     3090
98     3091
99     3092
100     EOH
101     }
102    
103     sub InHiraganaSemiVoiced {
104     <<EOH;
105     3071
106     3074
107     3077
108     307A
109     307D
110     EOH
111     }
112    
113     sub InHiraganaSmall {
114     <<EOH;
115     3041
116     3043
117     3045
118     3047
119     3049
120     3063
121     3083
122     3085
123     3087
124     308E
125     3095
126     3096
127     EOH
128     }
129    
130     sub InHiraganaVoiced {
131     <<EOH;
132     304C
133     304E
134     3050
135     3052
136     3054
137     3056
138     3058
139     305A
140     305C
141     305E
142     3060
143     3062
144     3065
145     3067
146     3069
147     3070
148     3073
149     3076
150     3079
151     307C
152     3094
153     EOH
154     }
155    
156     =head1 COLLECTION NAMES
157    
158     =over 4
159    
160     =item C<InHiraganaAll>
161    
162     =item C<InHiraganaDigraph>
163    
164     =item C<InHiraganaHatsuon>
165    
166     =item C<InHiraganaSeion>
167    
168     =item C<InHiraganaSemiVoiced>
169    
170     =item C<InHiraganaSmall>
171    
172     =item C<InHiraganaVoiced>
173    
174     =back
175    
176     =cut
177    
178    
179     =head1 EXAMPLE
180    
181     use Char::Class::Hiragana;
182     if ($s =~ /\p{InSeion}/) {
183     print "Match!\n";
184     }
185    
186     =head1 LICENSE
187    
188 wakaba 1.2 Copyright 2008 Wakaba <w@suika.fam.cx>
189 wakaba 1.1
190     This library and the library generated by it is free software;
191     you can redistribute them and/or modify them under the same
192     terms as Perl itself.
193    
194     =cut
195    
196     1;
197     ### Hiragana.pm ends here

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24