| 1 |
wakaba |
1.2 |
<?xml version="1.0" ?> |
| 2 |
wakaba |
1.1 |
<!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::JISX0221 - Regular Expression Character Classes - C<JISX0221></title> |
| 6 |
|
|
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/pod.css" type="text/css" /> |
| 7 |
wakaba |
1.2 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| 8 |
|
|
<link rev="made" href="mailto:[email protected]" /> |
| 9 |
wakaba |
1.1 |
</head> |
| 10 |
|
|
|
| 11 |
|
|
<body> |
| 12 |
|
|
|
| 13 |
wakaba |
1.2 |
|
| 14 |
|
|
<!-- INDEX BEGIN --> |
| 15 |
|
|
<div name="index"> |
| 16 |
wakaba |
1.1 |
<p><a name="__index__"></a></p> |
| 17 |
|
|
|
| 18 |
|
|
<ul> |
| 19 |
|
|
|
| 20 |
|
|
<li><a href="#name">NAME</a></li> |
| 21 |
|
|
<li><a href="#description">DESCRIPTION</a></li> |
| 22 |
|
|
<li><a href="#collection_names">COLLECTION NAMES</a></li> |
| 23 |
|
|
<li><a href="#example">EXAMPLE</a></li> |
| 24 |
|
|
<li><a href="#see_also">SEE ALSO</a></li> |
| 25 |
|
|
<li><a href="#license">LICENSE</a></li> |
| 26 |
|
|
</ul> |
| 27 |
wakaba |
1.2 |
|
| 28 |
|
|
<hr name="index" /> |
| 29 |
|
|
</div> |
| 30 |
wakaba |
1.1 |
<!-- INDEX END --> |
| 31 |
|
|
|
| 32 |
|
|
<p> |
| 33 |
|
|
</p> |
| 34 |
|
|
<h1><a name="name">NAME</a></h1> |
| 35 |
|
|
<p>Char::Class::JISX0221 - Regular Expression Character Classes - <code>JISX0221</code></p> |
| 36 |
|
|
<p> |
| 37 |
|
|
</p> |
| 38 |
|
|
<hr /> |
| 39 |
|
|
<h1><a name="description">DESCRIPTION</a></h1> |
| 40 |
|
|
<p>Japanese character sub-repertories, defined by JIS X 0221-1:2001 |
| 41 |
|
|
Appendix 1</p> |
| 42 |
|
|
<p>Appendix 1 (informative) of JIS X 0221-1:2001 defines seven |
| 43 |
|
|
Japanese character sub-repertories:</p> |
| 44 |
|
|
<dl> |
| 45 |
wakaba |
1.2 |
<dt><strong><a name="japanese" class="item">a) BASIC JAPANESE (基本日本文字集合)</a></strong> |
| 46 |
|
|
|
| 47 |
wakaba |
1.1 |
<dd> |
| 48 |
wakaba |
1.2 |
<p>This sub-repertory contains of graphic characters defined by |
| 49 |
wakaba |
1.1 |
JIS X 0201, ISO/IEC 646 IRV and JIS X 0208. Han characters |
| 50 |
|
|
are defined in main part of ISO/IEC 10646-1 27. (CJK Unified Ideographs) |
| 51 |
|
|
with source JIS X 0208 code point. Non-han charactrers |
| 52 |
wakaba |
1.2 |
are listed in Appendix 1 table 1.</p> |
| 53 |
wakaba |
1.1 |
</dd> |
| 54 |
wakaba |
1.2 |
</li> |
| 55 |
|
|
<dt><strong><a name="supplement" class="item">b) JAPANESE NON IDEOGRAPHICS SUPPLEMENT (追加非漢字集合)</a></strong> |
| 56 |
|
|
|
| 57 |
wakaba |
1.1 |
<dd> |
| 58 |
wakaba |
1.2 |
<p>This sub-repertory contains of non-Han JIS X 0212 character |
| 59 |
wakaba |
1.1 |
and additional symbols used in Japanese documents that |
| 60 |
|
|
does not included in JIS X 0201, JIS X 0208 and JIS X 0212. |
| 61 |
wakaba |
1.2 |
Characters are listed in Appendix 1 table 2.</p> |
| 62 |
wakaba |
1.1 |
</dd> |
| 63 |
|
|
<dd> |
| 64 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE.</p> |
| 65 |
|
|
</dd> |
| 66 |
wakaba |
1.2 |
</li> |
| 67 |
|
|
<dt><strong><a name="1" class="item">c) JAPANESE IDEOGRAPHICS SUPPLEMENT 1 (追加漢字集合)</a></strong> |
| 68 |
|
|
|
| 69 |
wakaba |
1.1 |
<dd> |
| 70 |
wakaba |
1.2 |
<p>This sub-repertory contains of Han characters defined by JIS X 0212 |
| 71 |
wakaba |
1.1 |
and being more frequently used. Characters are listed in |
| 72 |
wakaba |
1.2 |
Appendix 1 table 3.</p> |
| 73 |
wakaba |
1.1 |
</dd> |
| 74 |
|
|
<dd> |
| 75 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE.</p> |
| 76 |
|
|
</dd> |
| 77 |
wakaba |
1.2 |
</li> |
| 78 |
|
|
<dt><strong><a name="2" class="item">d) JAPANESE IDEOGRAPHICS SUPPLEMENT 2 (補助漢字集合)</a></strong> |
| 79 |
|
|
|
| 80 |
wakaba |
1.1 |
<dd> |
| 81 |
wakaba |
1.2 |
<p>This sub-repertory contains of Han characters defined by JIS X 0212, |
| 82 |
|
|
except those included of JAPANESE IDEOGRAPHICS SUPPLEMENT 1.</p> |
| 83 |
wakaba |
1.1 |
</dd> |
| 84 |
|
|
<dd> |
| 85 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE |
| 86 |
|
|
and JAPANESE IDEOGRAPHICS SUPPLEMENT 1.</p> |
| 87 |
|
|
</dd> |
| 88 |
wakaba |
1.2 |
</li> |
| 89 |
|
|
<dt><strong><a name="3" class="item">e) JAPANESE IDEOGRAPHICS SUPPLEMENT 3 (その他の漢字集合)</a></strong> |
| 90 |
|
|
|
| 91 |
wakaba |
1.1 |
<dd> |
| 92 |
wakaba |
1.2 |
<p>Han characters defined in CJK UNIFIED IDEOGRAPHS, except |
| 93 |
wakaba |
1.1 |
those included in BASIC JAPANESE and JAPANESE IDEOGRAPHICS SUPPLEMENT |
| 94 |
wakaba |
1.2 |
1 and 2.</p> |
| 95 |
wakaba |
1.1 |
</dd> |
| 96 |
|
|
<dd> |
| 97 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE |
| 98 |
|
|
and JAPANESE IDEOGRAPHICS SUPPLEMENT 1 and 2.</p> |
| 99 |
|
|
</dd> |
| 100 |
wakaba |
1.2 |
</li> |
| 101 |
|
|
<dt><strong><a name="alphanumerics" class="item">f) FULLWIDTH ALPHANUMERICS (互換用全角英数字集合)</a></strong> |
| 102 |
|
|
|
| 103 |
wakaba |
1.1 |
<dd> |
| 104 |
wakaba |
1.2 |
<p>Fullwidth variants of ISO/IEC 646 IRV characters, listed in |
| 105 |
wakaba |
1.1 |
Appendix 1 table 4. This sub-repertory is intended to be used |
| 106 |
|
|
for and only for keeping compatibility with old idiomatic Japanese |
| 107 |
wakaba |
1.2 |
character repertory or presentation form.</p> |
| 108 |
wakaba |
1.1 |
</dd> |
| 109 |
|
|
<dd> |
| 110 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE |
| 111 |
|
|
and BASIC LATIN (ISO/IEC 10646-1 Appendix A.1).</p> |
| 112 |
|
|
</dd> |
| 113 |
wakaba |
1.2 |
</li> |
| 114 |
|
|
<dt><strong><a name="katakana" class="item">g) HALFWIDTH KATAKANA (互換用半角片仮名集合)</a></strong> |
| 115 |
|
|
|
| 116 |
wakaba |
1.1 |
<dd> |
| 117 |
wakaba |
1.2 |
<p>Halfwidth variants of Katakana characters defined by JIS X 0201, |
| 118 |
wakaba |
1.1 |
listed in Appendix 1 table 5. This sub-repertory is intended to be used |
| 119 |
|
|
for and only for keeping compatibility with old idiomatic Japanese |
| 120 |
wakaba |
1.2 |
character repertory or presentation form.</p> |
| 121 |
wakaba |
1.1 |
</dd> |
| 122 |
|
|
<dd> |
| 123 |
|
|
<p>This sub-repertory is intended to be used with BASIC JAPANESE.</p> |
| 124 |
|
|
</dd> |
| 125 |
wakaba |
1.2 |
</li> |
| 126 |
|
|
</dl> |
| 127 |
wakaba |
1.1 |
<p>Only a character, TILDE (U+007E) is doubly included in both |
| 128 |
|
|
BASIC JAPANESE and JAPANESE NON IDEOGRAPHICS SUPPLEMENT. |
| 129 |
|
|
Any other characters belong to one sub-repertory.</p> |
| 130 |
|
|
<p> |
| 131 |
|
|
</p> |
| 132 |
|
|
<hr /> |
| 133 |
|
|
<h1><a name="collection_names">COLLECTION NAMES</a></h1> |
| 134 |
|
|
<dl> |
| 135 |
wakaba |
1.2 |
<dt><strong><a name="injisx0221basicjapanese" class="item"><code>InJISX0221BasicJapanese</code></a></strong> |
| 136 |
|
|
|
| 137 |
|
|
<dt><strong><a name="injisx0221fullwidthalphanumeric" class="item"><code>InJISX0221FullwidthAlphanumeric</code></a></strong> |
| 138 |
|
|
|
| 139 |
|
|
<dt><strong><a name="injisx0221halfwidthkatakana" class="item"><code>InJISX0221HalfwidthKatakana</code></a></strong> |
| 140 |
|
|
|
| 141 |
|
|
<dt><strong><a name="injisx0221japaneseideographicssupplement1" class="item"><code>InJISX0221JapaneseIdeographicsSupplement1</code></a></strong> |
| 142 |
|
|
|
| 143 |
|
|
<dt><strong><a name="injisx0221japaneseideographicssupplement2" class="item"><code>InJISX0221JapaneseIdeographicsSupplement2</code></a></strong> |
| 144 |
|
|
|
| 145 |
|
|
<dt><strong><a name="injisx0221japaneseideographicssupplement3" class="item"><code>InJISX0221JapaneseIdeographicsSupplement3</code></a></strong> |
| 146 |
|
|
|
| 147 |
|
|
<dt><strong><a name="injisx0221japanesenonideographicssupplement" class="item"><code>InJISX0221JapaneseNonIdeographicsSupplement</code></a></strong> |
| 148 |
|
|
|
| 149 |
wakaba |
1.1 |
</dl> |
| 150 |
|
|
<p> |
| 151 |
|
|
</p> |
| 152 |
|
|
<hr /> |
| 153 |
|
|
<h1><a name="example">EXAMPLE</a></h1> |
| 154 |
|
|
<pre> |
| 155 |
|
|
use Char::Class::JISX0221; |
| 156 |
|
|
if ($s =~ /\p{InFullwidthAlphanumeric}/) { |
| 157 |
|
|
print "Match!\n"; |
| 158 |
|
|
}</pre> |
| 159 |
|
|
<p> |
| 160 |
|
|
</p> |
| 161 |
|
|
<hr /> |
| 162 |
|
|
<h1><a name="see_also">SEE ALSO</a></h1> |
| 163 |
|
|
<p>ISO/IEC 10646-1:1993, ISO/IEC JTC1, 1993. Obsoleted by ISO/IEC 10646-1:2000.</p> |
| 164 |
|
|
<p>ISO/IEC 10646-1:2000, ISO/IEC JTC1, 2000. Revision of ISO/IEC 10646-1:1993.</p> |
| 165 |
|
|
<p>JIS X 0221-1995, Japanese Industrial Standard Commitee |
| 166 |
|
|
(JISC <http://www.jisc.go.jp/>), 1995. Obsoleted by JIS X 0221-1:2001.</p> |
| 167 |
|
|
<p>JIS X 0221-1:2001, Japanese Industrial Standard Commitee |
| 168 |
|
|
(JISC <http://www.jisc.go.jp/>), 2001. JIS version of ISO/IEC |
| 169 |
|
|
10646-1:2000. Revision of JIS X 0221-1995.</p> |
| 170 |
|
|
<p>ISO/IEC 646:1991, JIS X 0201:1997, JIS X 0208:1997, JIS X 0212-1990, |
| 171 |
|
|
JIS X 0213:2000 are also related.</p> |
| 172 |
|
|
<p><a href="../../Char/Class/UCS.html">the Char::Class::UCS manpage</a></p> |
| 173 |
wakaba |
1.2 |
<p><a href="../../Char/Class/<a href="http://www.ietf.org/rfc/rfc1815.txt" class="rfc">RFC1815</a>.html">the Char::Class::<a href="http://www.ietf.org/rfc/rfc1815.txt" class="rfc">RFC1815</a> manpage</a></p> |
| 174 |
wakaba |
1.1 |
<p> |
| 175 |
|
|
</p> |
| 176 |
|
|
<hr /> |
| 177 |
|
|
<h1><a name="license">LICENSE</a></h1> |
| 178 |
wakaba |
1.2 |
<p>Copyright 2008 Wakaba <<a href="mailto:[email protected]">[email protected]</a>></p> |
| 179 |
wakaba |
1.1 |
<p>This library and the library generated by it is free software; |
| 180 |
|
|
you can redistribute them and/or modify them under the same |
| 181 |
|
|
terms as Perl itself.</p> |
| 182 |
|
|
|
| 183 |
|
|
</body> |
| 184 |
|
|
|
| 185 |
|
|
</html> |