| 1 |
<?xml version="1.0" ?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 3 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
<head> |
| 5 |
<title>Char::Class::Han - Regular Expression Character Classes - C<Han></title> |
| 6 |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/pod.css" type="text/css" /> |
| 7 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 8 |
<link rev="made" href="mailto:wakaba@suika.fam.cx" /> |
| 9 |
</head> |
| 10 |
|
| 11 |
<body> |
| 12 |
|
| 13 |
|
| 14 |
<!-- INDEX BEGIN --> |
| 15 |
<div name="index"> |
| 16 |
<p><a name="__index__"></a></p> |
| 17 |
|
| 18 |
<ul> |
| 19 |
|
| 20 |
<li><a href="#name">NAME</a></li> |
| 21 |
<li><a href="#collection_names">COLLECTION NAMES</a></li> |
| 22 |
<li><a href="#example">EXAMPLE</a></li> |
| 23 |
<li><a href="#see_also">SEE ALSO</a></li> |
| 24 |
<li><a href="#license">LICENSE</a></li> |
| 25 |
</ul> |
| 26 |
|
| 27 |
<hr name="index" /> |
| 28 |
</div> |
| 29 |
<!-- INDEX END --> |
| 30 |
|
| 31 |
<p> |
| 32 |
</p> |
| 33 |
<h1><a name="name">NAME</a></h1> |
| 34 |
<p>Char::Class::Han - Regular Expression Character Classes - <code>Han</code></p> |
| 35 |
<p> |
| 36 |
</p> |
| 37 |
<hr /> |
| 38 |
<h1><a name="collection_names">COLLECTION NAMES</a></h1> |
| 39 |
<dl> |
| 40 |
<dt><strong><a name="inhanjp_hyougai" class="item"><code>InHanJP_Hyougai</code></a></strong> |
| 41 |
|
| 42 |
<dd> |
| 43 |
<p>An alias for InHanJP_Hyougai2000.</p> |
| 44 |
</dd> |
| 45 |
</li> |
| 46 |
<dt><strong><a name="inhanjp_hyougai2000" class="item"><code>InHanJP_Hyougai2000</code></a></strong> |
| 47 |
|
| 48 |
<dt><strong><a name="inhanjp_hyougaisimplified" class="item"><code>InHanJP_HyougaiSimplified</code></a></strong> |
| 49 |
|
| 50 |
<dd> |
| 51 |
<p>An alias for InHanJP_HyougaiSimplified2000.</p> |
| 52 |
</dd> |
| 53 |
</li> |
| 54 |
<dt><strong><a name="inhanjp_hyougaisimplified2000" class="item"><code>InHanJP_HyougaiSimplified2000</code></a></strong> |
| 55 |
|
| 56 |
<dt><strong><a name="inhanjp_hyougaistandard" class="item"><code>InHanJP_HyougaiStandard</code></a></strong> |
| 57 |
|
| 58 |
<dd> |
| 59 |
<p>An alias for InHanJP_HyougaiStandard2000.</p> |
| 60 |
</dd> |
| 61 |
</li> |
| 62 |
<dt><strong><a name="inhanjp_hyougaistandard2000" class="item"><code>InHanJP_HyougaiStandard2000</code></a></strong> |
| 63 |
|
| 64 |
<dt><strong><a name="inhanjp_jimmei" class="item"><code>InHanJP_Jimmei</code></a></strong> |
| 65 |
|
| 66 |
<dd> |
| 67 |
<p>An alias for InHanJP_Jimmei1997.</p> |
| 68 |
</dd> |
| 69 |
</li> |
| 70 |
<dt><strong><a name="inhanjp_jimmei1951" class="item"><code>InHanJP_Jimmei1951</code></a></strong> |
| 71 |
|
| 72 |
<dt><strong><a name="inhanjp_jimmei1976" class="item"><code>InHanJP_Jimmei1976</code></a></strong> |
| 73 |
|
| 74 |
<dt><strong><a name="inhanjp_jimmei1981" class="item"><code>InHanJP_Jimmei1981</code></a></strong> |
| 75 |
|
| 76 |
<dt><strong><a name="inhanjp_jimmei1990" class="item"><code>InHanJP_Jimmei1990</code></a></strong> |
| 77 |
|
| 78 |
<dt><strong><a name="inhanjp_jimmei1997" class="item"><code>InHanJP_Jimmei1997</code></a></strong> |
| 79 |
|
| 80 |
<dt><strong><a name="inhanjp_jimmeikyoyou" class="item"><code>InHanJP_JimmeiKyoyou</code></a></strong> |
| 81 |
|
| 82 |
<dd> |
| 83 |
<p>An alias for InHanJP_JimmeiKyoyou1981.</p> |
| 84 |
</dd> |
| 85 |
</li> |
| 86 |
<dt><strong><a name="inhanjp_jimmeikyoyou1981" class="item"><code>InHanJP_JimmeiKyoyou1981</code></a></strong> |
| 87 |
|
| 88 |
<dt><strong><a name="inhanjp_jouyou" class="item"><code>InHanJP_Jouyou</code></a></strong> |
| 89 |
|
| 90 |
<dd> |
| 91 |
<p>An alias for InHanJP_Jouyou1981.</p> |
| 92 |
</dd> |
| 93 |
</li> |
| 94 |
<dt><strong><a name="inhanjp_jouyou1981" class="item"><code>InHanJP_Jouyou1981</code></a></strong> |
| 95 |
|
| 96 |
<dt><strong><a name="inhanjp_kyouiku" class="item"><code>InHanJP_Kyouiku</code></a></strong> |
| 97 |
|
| 98 |
<dd> |
| 99 |
<p>An alias for InHanJP_Kyouiku1989.</p> |
| 100 |
</dd> |
| 101 |
</li> |
| 102 |
<dt><strong><a name="inhanjp_kyouiku1989" class="item"><code>InHanJP_Kyouiku1989</code></a></strong> |
| 103 |
|
| 104 |
<dt><strong><a name="inhanjp_kyouiku1998" class="item"><code>InHanJP_Kyouiku1998</code></a></strong> |
| 105 |
|
| 106 |
<dd> |
| 107 |
<p>An alias for InHanJP_Kyouiku1989.</p> |
| 108 |
</dd> |
| 109 |
</li> |
| 110 |
<dt><strong><a name="inhanjp_kyouiku1st" class="item"><code>InHanJP_Kyouiku1st</code></a></strong> |
| 111 |
|
| 112 |
<dd> |
| 113 |
<p>An alias for InHanJP_Kyouiku1st1989.</p> |
| 114 |
</dd> |
| 115 |
</li> |
| 116 |
<dt><strong><a name="inhanjp_kyouiku1st1989" class="item"><code>InHanJP_Kyouiku1st1989</code></a></strong> |
| 117 |
|
| 118 |
<dt><strong><a name="inhanjp_kyouiku1st1998" class="item"><code>InHanJP_Kyouiku1st1998</code></a></strong> |
| 119 |
|
| 120 |
<dd> |
| 121 |
<p>An alias for InHanJP_Kyouiku1st1989.</p> |
| 122 |
</dd> |
| 123 |
</li> |
| 124 |
<dt><strong><a name="inhanjp_kyouiku2nd" class="item"><code>InHanJP_Kyouiku2nd</code></a></strong> |
| 125 |
|
| 126 |
<dd> |
| 127 |
<p>An alias for InHanJP_Kyouiku2nd1989.</p> |
| 128 |
</dd> |
| 129 |
</li> |
| 130 |
<dt><strong><a name="inhanjp_kyouiku2nd1989" class="item"><code>InHanJP_Kyouiku2nd1989</code></a></strong> |
| 131 |
|
| 132 |
<dt><strong><a name="inhanjp_kyouiku2nd1998" class="item"><code>InHanJP_Kyouiku2nd1998</code></a></strong> |
| 133 |
|
| 134 |
<dd> |
| 135 |
<p>An alias for InHanJP_Kyouiku2nd1989.</p> |
| 136 |
</dd> |
| 137 |
</li> |
| 138 |
<dt><strong><a name="inhanjp_kyouiku3rd" class="item"><code>InHanJP_Kyouiku3rd</code></a></strong> |
| 139 |
|
| 140 |
<dd> |
| 141 |
<p>An alias for InHanJP_Kyouiku3rd1989.</p> |
| 142 |
</dd> |
| 143 |
</li> |
| 144 |
<dt><strong><a name="inhanjp_kyouiku3rd1989" class="item"><code>InHanJP_Kyouiku3rd1989</code></a></strong> |
| 145 |
|
| 146 |
<dt><strong><a name="inhanjp_kyouiku3rd1998" class="item"><code>InHanJP_Kyouiku3rd1998</code></a></strong> |
| 147 |
|
| 148 |
<dd> |
| 149 |
<p>An alias for InHanJP_Kyouiku3rd1989.</p> |
| 150 |
</dd> |
| 151 |
</li> |
| 152 |
<dt><strong><a name="inhanjp_kyouiku4th" class="item"><code>InHanJP_Kyouiku4th</code></a></strong> |
| 153 |
|
| 154 |
<dd> |
| 155 |
<p>An alias for InHanJP_Kyouiku4th1989.</p> |
| 156 |
</dd> |
| 157 |
</li> |
| 158 |
<dt><strong><a name="inhanjp_kyouiku4th1989" class="item"><code>InHanJP_Kyouiku4th1989</code></a></strong> |
| 159 |
|
| 160 |
<dt><strong><a name="inhanjp_kyouiku4th1998" class="item"><code>InHanJP_Kyouiku4th1998</code></a></strong> |
| 161 |
|
| 162 |
<dd> |
| 163 |
<p>An alias for InHanJP_Kyouiku4th1989.</p> |
| 164 |
</dd> |
| 165 |
</li> |
| 166 |
<dt><strong><a name="inhanjp_kyouiku5th" class="item"><code>InHanJP_Kyouiku5th</code></a></strong> |
| 167 |
|
| 168 |
<dd> |
| 169 |
<p>An alias for InHanJP_Kyouiku5th1989.</p> |
| 170 |
</dd> |
| 171 |
</li> |
| 172 |
<dt><strong><a name="inhanjp_kyouiku5th1989" class="item"><code>InHanJP_Kyouiku5th1989</code></a></strong> |
| 173 |
|
| 174 |
<dt><strong><a name="inhanjp_kyouiku5th1998" class="item"><code>InHanJP_Kyouiku5th1998</code></a></strong> |
| 175 |
|
| 176 |
<dd> |
| 177 |
<p>An alias for InHanJP_Kyouiku5th1989.</p> |
| 178 |
</dd> |
| 179 |
</li> |
| 180 |
<dt><strong><a name="inhanjp_kyouiku6th" class="item"><code>InHanJP_Kyouiku6th</code></a></strong> |
| 181 |
|
| 182 |
<dd> |
| 183 |
<p>An alias for InHanJP_Kyouiku6th1989.</p> |
| 184 |
</dd> |
| 185 |
</li> |
| 186 |
<dt><strong><a name="inhanjp_kyouiku6th1989" class="item"><code>InHanJP_Kyouiku6th1989</code></a></strong> |
| 187 |
|
| 188 |
<dt><strong><a name="inhanjp_kyouiku6th1998" class="item"><code>InHanJP_Kyouiku6th1998</code></a></strong> |
| 189 |
|
| 190 |
<dd> |
| 191 |
<p>An alias for InHanJP_Kyouiku6th1989.</p> |
| 192 |
</dd> |
| 193 |
</li> |
| 194 |
<dt><strong><a name="inhanjp_touyou" class="item"><code>InHanJP_Touyou</code></a></strong> |
| 195 |
|
| 196 |
<dd> |
| 197 |
<p>An alias for InHanJP_Touyou1949.</p> |
| 198 |
</dd> |
| 199 |
</li> |
| 200 |
<dt><strong><a name="inhanjp_touyou1949" class="item"><code>InHanJP_Touyou1949</code></a></strong> |
| 201 |
|
| 202 |
<dt><strong><a name="inhanjp_touyoudraft1954" class="item"><code>InHanJP_TouyouDraft1954</code></a></strong> |
| 203 |
|
| 204 |
<dt><strong><a name="inhansenjimon" class="item"><code>InHanSenjimon</code></a></strong> |
| 205 |
|
| 206 |
<dd> |
| 207 |
<p>An alias for InHanSenjimonJP.</p> |
| 208 |
</dd> |
| 209 |
</li> |
| 210 |
<dt><strong><a name="inhansenjimonjp" class="item"><code>InHanSenjimonJP</code></a></strong> |
| 211 |
|
| 212 |
</dl> |
| 213 |
<p> |
| 214 |
</p> |
| 215 |
<hr /> |
| 216 |
<h1><a name="example">EXAMPLE</a></h1> |
| 217 |
<pre> |
| 218 |
use utf8; |
| 219 |
use 5.7.3; |
| 220 |
use Char::InSet::Han qw(InHanJP_Jimmei InHanJP_JimmeiKyoyou); |
| 221 |
$s = q(琉球諸島); |
| 222 |
## Marks han characters included in 人名用漢字表・人名用漢字許容字体表 |
| 223 |
$s =~ s/(\p{InHanJP_Jimmei}|\p{InHanJP_JimmeiKyoyou})/*$1/g; |
| 224 |
print $s; ## *琉球諸島</pre> |
| 225 |
<p> |
| 226 |
</p> |
| 227 |
<hr /> |
| 228 |
<h1><a name="see_also">SEE ALSO</a></h1> |
| 229 |
<p>perlunicode</p> |
| 230 |
<p>漢字表一覧 (List of Kanji tables) <http://www.aozora.gr.jp/kanji_table/></p> |
| 231 |
<p>学年別漢字配当表 <http://www.mext.go.jp/b_menu/houdou/11/03/990302j.htm></p> |
| 232 |
<p>千字文:</p> |
| 233 |
<dl> |
| 234 |
<dt><strong><a name="http_www_asahi_net_or_jp_de3m_ozw_kansi_02senji_senji02_htm" class="item"><http://www.asahi-net.or.jp/~de3m-ozw/kansi/02senji/senji02.htm></a></strong> |
| 235 |
|
| 236 |
<dt><strong><a name="http_www_jls_co_kr_japan_qna_cheonjamun_htm" class="item"><http://www.jls.co.kr/japan/qna/cheonjamun.htm></a></strong> |
| 237 |
|
| 238 |
<dt><strong><a name="http_www2_odn_ne_jp_sasabomb_tables_1000characters_html" class="item"><http://www2.odn.ne.jp/sasabomb/tables/1000characters.html></a></strong> |
| 239 |
|
| 240 |
<dt><strong><a name="http_www_l_h_co_jp_lhcontents_l_hlib_senji_newjis_html" class="item"><http://www.l-h.co.jp/lhcontents/l-hlib/senji_newjis.html></a></strong> |
| 241 |
|
| 242 |
</dl> |
| 243 |
<p> |
| 244 |
</p> |
| 245 |
<hr /> |
| 246 |
<h1><a name="license">LICENSE</a></h1> |
| 247 |
<p>Copyright 2008 Wakaba <<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></p> |
| 248 |
<p>This library and the library generated by it is free software; |
| 249 |
you can redistribute them and/or modify them under the same |
| 250 |
terms as Perl itself.</p> |
| 251 |
<p>This library uses tables made by Aozora Bunko <http://www.aozora.gr.jp/>. |
| 252 |
It claims that:</p> |
| 253 |
<p>この資料は、自由に使ってください。加工、再配布に際しても、 |
| 254 |
青空文庫への連絡は必要ありません。校正には努めましたが、 |
| 255 |
信頼性は保証できません。この資料を利用したことで何らかの不利益が生じても、 |
| 256 |
責任は負えません。</p> |
| 257 |
<p>(You can use, modify, redistribute this resource freely, |
| 258 |
although there is no warranty.)</p> |
| 259 |
|
| 260 |
</body> |
| 261 |
|
| 262 |
</html> |