1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
3 |
<head> |
4 |
<title>Char::Class::XML - Regular Expression Character Classes - C<XML></title> |
5 |
<link rel="stylesheet" href="http://suika.fam.cx/www/style/html/pod.css" type="text/css" /> |
6 |
<link rev="made" href="mailto:admin@suika.fam.cx" /> |
7 |
</head> |
8 |
|
9 |
<body> |
10 |
|
11 |
<p><a name="__index__"></a></p> |
12 |
<!-- INDEX BEGIN --> |
13 |
|
14 |
<ul> |
15 |
|
16 |
<li><a href="#name">NAME</a></li> |
17 |
<li><a href="#description">DESCRIPTION</a></li> |
18 |
<li><a href="#collection_names">COLLECTION NAMES</a></li> |
19 |
<li><a href="#example">EXAMPLE</a></li> |
20 |
<li><a href="#see_also">SEE ALSO</a></li> |
21 |
<li><a href="#license">LICENSE</a></li> |
22 |
</ul> |
23 |
<!-- INDEX END --> |
24 |
|
25 |
<hr /> |
26 |
<p> |
27 |
</p> |
28 |
<h1><a name="name">NAME</a></h1> |
29 |
<p>Char::Class::XML - Regular Expression Character Classes - <code>XML</code></p> |
30 |
<p> |
31 |
</p> |
32 |
<hr /> |
33 |
<h1><a name="description">DESCRIPTION</a></h1> |
34 |
<p>Character classes for XML, the Extensible Markup Language</p> |
35 |
<p> |
36 |
</p> |
37 |
<hr /> |
38 |
<h1><a name="collection_names">COLLECTION NAMES</a></h1> |
39 |
<dl> |
40 |
<dt><strong><a name="item_inxmlbasechar"><code>InXMLBaseChar</code></a></strong><br /> |
41 |
</dt> |
42 |
<dd> |
43 |
<code>BaseChar</code> defined in XML 1.0 spec (#85, <http://www.w3.org/TR/REC-xml#NT-BaseChar>) |
44 |
</dd> |
45 |
<p></p> |
46 |
<dt><strong><a name="item_inxmlchar"><code>InXMLChar</code></a></strong><br /> |
47 |
</dt> |
48 |
<dd> |
49 |
An alias for InXMLChar11. |
50 |
</dd> |
51 |
<p></p> |
52 |
<dt><strong><a name="item_inxmlchar10"><code>InXMLChar10</code></a></strong><br /> |
53 |
</dt> |
54 |
<dd> |
55 |
<code>Char</code> defined in XML 1.0 spec (#2, <http://www.w3.org/TR/REC-xml#N |
56 |
</dd> |
57 |
<p></p> |
58 |
<dt><strong><a name="item_inxmlchar11"><code>InXMLChar11</code></a></strong><br /> |
59 |
</dt> |
60 |
<dd> |
61 |
<code>Char</code> defined in XML 1.1 spec (#2, <http://www.w3.org/TR/xml11#NT-Char>) |
62 |
</dd> |
63 |
<p></p> |
64 |
<dt><strong><a name="item_inxmlcombiningchar"><code>InXMLCombiningChar</code></a></strong><br /> |
65 |
</dt> |
66 |
<dd> |
67 |
<code>CombiningChar</code> defined in XML 1.0 spec (#87, <http://www.w3.org/TR/REC-xml#NT-CombiningChar>) |
68 |
</dd> |
69 |
<p></p> |
70 |
<dt><strong><a name="item_inxmldigit"><code>InXMLDigit</code></a></strong><br /> |
71 |
</dt> |
72 |
<dd> |
73 |
<code>Digit</code> defined in XML 1.0 spec (#88, <http://www.w3.org/TR/REC-xml#NT-Digit>) |
74 |
</dd> |
75 |
<p></p> |
76 |
<dt><strong><a name="item_inxmlextender"><code>InXMLExtender</code></a></strong><br /> |
77 |
</dt> |
78 |
<dd> |
79 |
<code>Extender</code> defined in XML 1.0 spec (#89, <http://www.w3.org/TR/REC-xml#NT-Extender>) |
80 |
</dd> |
81 |
<p></p> |
82 |
<dt><strong><a name="item_inxmlideographic"><code>InXMLIdeographic</code></a></strong><br /> |
83 |
</dt> |
84 |
<dd> |
85 |
<code>Ideographic</code> defined in XML 1.0 spec (#86, <http://www.w3.org/TR/REC-xml#NT-Ideographic>) |
86 |
</dd> |
87 |
<p></p> |
88 |
<dt><strong><a name="item_inxmlletter"><code>InXMLLetter</code></a></strong><br /> |
89 |
</dt> |
90 |
<dd> |
91 |
<code>Letter</code> (::= <code>BaseChar</code> / <code>Ideographic</code>) defined in XML 1.0 spec (#84, <http://www.w3.org/TR/REC-xml#NT-Letter>) |
92 |
</dd> |
93 |
<p></p> |
94 |
<dt><strong><a name="item_inxmlncnamechar"><code>InXMLNCNameChar</code></a></strong><br /> |
95 |
</dt> |
96 |
<dd> |
97 |
An alias for InXMLNCNameChar11. |
98 |
</dd> |
99 |
<p></p> |
100 |
<dt><strong><a name="item_inxmlncnamechar10"><code>InXMLNCNameChar10</code></a></strong><br /> |
101 |
</dt> |
102 |
<dd> |
103 |
Characters are elements of <code>NCNameChar</code> defined in Namespace in XML spec (#5, <http://www.w3.org/TR/REC-xml-names#NT-NCNameChar>) |
104 |
</dd> |
105 |
<p></p> |
106 |
<dt><strong><a name="item_inxmlncnamechar11"><code>InXMLNCNameChar11</code></a></strong><br /> |
107 |
</dt> |
108 |
<dd> |
109 |
<code>NCNameChar</code> defined in XML Namespace 1.1 spec |
110 |
</dd> |
111 |
<p></p> |
112 |
<dt><strong><a name="item_inxmlncnamestartchar"><code>InXMLNCNameStartChar</code></a></strong><br /> |
113 |
</dt> |
114 |
<dd> |
115 |
An alias for InXMLNCNameStartChar11. |
116 |
</dd> |
117 |
<p></p> |
118 |
<dt><strong><a name="item_inxmlncnamestartchar11"><code>InXMLNCNameStartChar11</code></a></strong><br /> |
119 |
</dt> |
120 |
<dd> |
121 |
<code>NCNameStartChar</code> defined in XML Namespace 1.1 spec |
122 |
</dd> |
123 |
<p></p> |
124 |
<dt><strong><a name="item_inxmlnamechar"><code>InXMLNameChar</code></a></strong><br /> |
125 |
</dt> |
126 |
<dd> |
127 |
An alias for InXMLNameChar11. |
128 |
</dd> |
129 |
<p></p> |
130 |
<dt><strong><a name="item_inxmlnamechar10"><code>InXMLNameChar10</code></a></strong><br /> |
131 |
</dt> |
132 |
<dd> |
133 |
Characters are elements of <code>NameChar</code> defined in XML 1.0 spec (#4, <http://www.w3.org/TR/REC-xml#NT-NameChar>) |
134 |
</dd> |
135 |
<p></p> |
136 |
<dt><strong><a name="item_inxmlnamechar11"><code>InXMLNameChar11</code></a></strong><br /> |
137 |
</dt> |
138 |
<dd> |
139 |
<code>NameChar</code> defined in XML 1.1 spec (#4a, <http://www.w3.org/TR/xml11#NT-NameChar>) |
140 |
</dd> |
141 |
<p></p> |
142 |
<dt><strong><a name="item_inxmlnamestartchar"><code>InXMLNameStartChar</code></a></strong><br /> |
143 |
</dt> |
144 |
<dd> |
145 |
An alias for InXMLNameStartChar11. |
146 |
</dd> |
147 |
<p></p> |
148 |
<dt><strong><a name="item_inxmlnamestartchar11"><code>InXMLNameStartChar11</code></a></strong><br /> |
149 |
</dt> |
150 |
<dd> |
151 |
<code>NameStartChar</code> defined in XML 1.1 spec (#4, <http://www.w3.org/TR/xml11#NT-NameStartChar>) |
152 |
</dd> |
153 |
<p></p> |
154 |
<dt><strong><a name="item_inxmlpubidchar"><code>InXMLPubidChar</code></a></strong><br /> |
155 |
</dt> |
156 |
<dd> |
157 |
<code>PubidChar</code> defined in XML 1.0 spec (#13, <http://www.w3.org/TR/REC-xml#NT-PubidChar>) |
158 |
</dd> |
159 |
<p></p> |
160 |
<dt><strong><a name="item_inxmlrestrictedchar"><code>InXMLRestrictedChar</code></a></strong><br /> |
161 |
</dt> |
162 |
<dd> |
163 |
An alias for InXMLRestrictedChar11. |
164 |
</dd> |
165 |
<p></p> |
166 |
<dt><strong><a name="item_inxmlrestrictedchar11"><code>InXMLRestrictedChar11</code></a></strong><br /> |
167 |
</dt> |
168 |
<dd> |
169 |
<code>RestrictedChar</code> defined in XML 1.1 spec (#2a, <http://www.w3.org/TR/xml11#NT-RestrictedChar>) |
170 |
</dd> |
171 |
<p></p> |
172 |
<dt><strong><a name="item_inxmls"><code>InXMLS</code></a></strong><br /> |
173 |
</dt> |
174 |
<dd> |
175 |
Characters are elements of <code>S</code> defined in XML 1.0 spec (#3, <http://www.w3.org/TR/REC-xml#NT-S>) |
176 |
</dd> |
177 |
<p></p> |
178 |
<dt><strong><a name="item_inxmlversionnum"><code>InXMLVersionNum</code></a></strong><br /> |
179 |
</dt> |
180 |
<dd> |
181 |
Characters are elements of <code>VersionNum</code> defined in First and Second Editions of XML 1.0 spec (#26, <http://www.w3.org/TR/2000/REC-xml-20001006#NT-VersionNum>) |
182 |
</dd> |
183 |
<p></p> |
184 |
<dt><strong><a name="item_inxml_ncnamestartchar"><code>InXML_NCNameStartChar</code></a></strong><br /> |
185 |
</dt> |
186 |
<dd> |
187 |
An alias for InXMLNCNameStartChar11. |
188 |
</dd> |
189 |
<p></p> |
190 |
<dt><strong><a name="item_inxml_ncnamestartchar10"><code>InXML_NCNameStartChar10</code></a></strong><br /> |
191 |
</dt> |
192 |
<dd> |
193 |
Characters can be the first char of <code>NCName</code> defined in Namespace in XML spec (#4, <http://www.w3.org/TR/REC-xml-names#NT-NCName>) |
194 |
</dd> |
195 |
<p></p> |
196 |
<dt><strong><a name="item_inxml_namestartchar"><code>InXML_NameStartChar</code></a></strong><br /> |
197 |
</dt> |
198 |
<dd> |
199 |
An alias for InXMLNameStartChar11. |
200 |
</dd> |
201 |
<p></p> |
202 |
<dt><strong><a name="item_inxml_namestartchar10"><code>InXML_NameStartChar10</code></a></strong><br /> |
203 |
</dt> |
204 |
<dd> |
205 |
Characters can be the first char of <code>Name</code> defined in XML 1.0 spec (#5, <http://www.w3.org/TR/REC-xml#NT-Name>) |
206 |
</dd> |
207 |
<p></p> |
208 |
<dt><strong><a name="item_inxml_unrestrictedchar"><code>InXML_UnrestrictedChar</code></a></strong><br /> |
209 |
</dt> |
210 |
<dd> |
211 |
An alias for InXML_UnrestrictedChar11. |
212 |
</dd> |
213 |
<p></p> |
214 |
<dt><strong><a name="item_inxml_unrestrictedchar10"><code>InXML_UnrestrictedChar10</code></a></strong><br /> |
215 |
</dt> |
216 |
<dd> |
217 |
An alias for InXMLChar10. |
218 |
</dd> |
219 |
<p></p> |
220 |
<dt><strong><a name="item_inxml_unrestrictedchar11"><code>InXML_UnrestrictedChar11</code></a></strong><br /> |
221 |
</dt> |
222 |
<dd> |
223 |
<code>Char11</code> - <code>RestrictedChar11</code> |
224 |
</dd> |
225 |
<p></p> |
226 |
<dt><strong><a name="item_inxml_deprecated_noncharacter"><code>InXML_deprecated_noncharacter</code></a></strong><br /> |
227 |
</dt> |
228 |
<dd> |
229 |
Additional deprecated characters in XML 1.0 SE errata (E46, <http://www.w3.org/XML/xml-V10-2e-errata#E46>) and TE <http://www.w3.org/TR/REC-xml/#charsets> (``noncharacter'' in Unicode) |
230 |
</dd> |
231 |
<p></p> |
232 |
<dt><strong><a name="item_inxml_unicode_xml_not_suitable"><code>InXML_unicode_xml_not_suitable</code></a></strong><br /> |
233 |
</dt> |
234 |
<dd> |
235 |
Characters not suitable for use with markup (Table 3.1 of <http://www.w3.org/TR/unicode-xml/#Charlist>) |
236 |
</dd> |
237 |
<p></p> |
238 |
<dt><strong><a name="item_inxml_unicode_xml_suitable_format_character"><code>InXML_unicode_xml_suitable_format_character</code></a></strong><br /> |
239 |
</dt> |
240 |
<dd> |
241 |
Some characters that affect text format but are suitable for use with markup (Table 4.1 of <http://www.w3.org/TR/unicode-xml/#Charlist>) |
242 |
</dd> |
243 |
<p></p></dl> |
244 |
<p> |
245 |
</p> |
246 |
<hr /> |
247 |
<h1><a name="example">EXAMPLE</a></h1> |
248 |
<pre> |
249 |
use Char::Class::XML; |
250 |
if ($s =~ /\p{InNameChar10}/) { |
251 |
print "Match!\n"; |
252 |
}</pre> |
253 |
<p> |
254 |
</p> |
255 |
<hr /> |
256 |
<h1><a name="see_also">SEE ALSO</a></h1> |
257 |
<dl> |
258 |
<dt><strong><a name="item_xml_1_2e0">XML 1.0</a></strong><br /> |
259 |
</dt> |
260 |
<dd> |
261 |
``Extensible Markup Language (XML) 1.0'', W3C Recommendation, |
262 |
<http://www.w3.org/TR/REC-xml>. |
263 |
</dd> |
264 |
<dd> |
265 |
<p>First Edition, 1998-02-10, |
266 |
<http://www.w3.org/TR/1998/REC-xml-19980210>.</p> |
267 |
</dd> |
268 |
<dd> |
269 |
<p>``XML 1.0 Specification Errata'', Errata for First Edition, |
270 |
<http://www.w3.org/XML/xml-19980210-errata>.</p> |
271 |
</dd> |
272 |
<dd> |
273 |
<p>Second Edition, 2000-10-06, <http://www.w3.org/TR/2000/WD-xml-2e-20000814>.</p> |
274 |
</dd> |
275 |
<dd> |
276 |
<p>``XML 1.0 Second Edition Specification Errata'', Errata for Second Edition, |
277 |
<http://www.w3.org/XML/xml-V10-2e-errata>.</p> |
278 |
</dd> |
279 |
<dd> |
280 |
<p>Third Edition, 2004-02-04, <http://www.w3.org/TR/2004/REC-xml-20040204>.</p> |
281 |
</dd> |
282 |
<dd> |
283 |
<p>``XML 1.0 Third Edition Specification Errata'', |
284 |
<http://www.w3.org/XML/xml-V10-3e-errata>.</p> |
285 |
</dd> |
286 |
<p></p> |
287 |
<dt><strong><a name="item_xml_namespace_1_2e0">XML Namespace 1.0</a></strong><br /> |
288 |
</dt> |
289 |
<dd> |
290 |
``Namespaces in XML'', W3C Recommendation, <http://www.w3.org/TR/REC-xml-names>. |
291 |
</dd> |
292 |
<dd> |
293 |
<p>First Edition, 1999-01-14, <http://www.w3.org/TR/1999/REC-xml-names-19990114>.</p> |
294 |
</dd> |
295 |
<dd> |
296 |
<p>``Namespaces in XML Errata'', <http://www.w3.org/XML/xml-names-19990114-errata>.</p> |
297 |
</dd> |
298 |
<p></p> |
299 |
<dt><strong><a name="item_xml_1_2e1">XML 1.1</a></strong><br /> |
300 |
</dt> |
301 |
<dd> |
302 |
``Extensible Markup Language (XML) 1.1'', W3C Recommendation, |
303 |
<http://www.w3.org/TR/xml11>. |
304 |
</dd> |
305 |
<dd> |
306 |
<p>First Edition, 2004-02-04. Edited 2004-04-15, |
307 |
<http://www.w3.org/TR/2004/REC-xml11-20040204/>.</p> |
308 |
</dd> |
309 |
<dd> |
310 |
<p>``XML 1.1 First Edition Specification Errata'', |
311 |
<http://www.w3.org/XML/xml-V11-1e-errata>.</p> |
312 |
</dd> |
313 |
<p></p> |
314 |
<dt><strong><a name="item_xml_namespace_1_2e1">XML Namespace 1.1</a></strong><br /> |
315 |
</dt> |
316 |
<dd> |
317 |
``Namespaces in XML 1.1'', W3C Recommendation, |
318 |
<http://www.w3.org/TR/xml-names11>. |
319 |
</dd> |
320 |
<dd> |
321 |
<p>First Edition, 2004-04-02, |
322 |
<http://www.w3.org/TR/2004/REC-xml-names11-20040204>.</p> |
323 |
</dd> |
324 |
<dd> |
325 |
<p>``Namespaces in XML 1.1 Errata'', |
326 |
<http://www.w3.org/XML/2004/xml-names11-errata>.</p> |
327 |
</dd> |
328 |
<p></p> |
329 |
<dt><strong><a name="item_misc_2e">Misc.</a></strong><br /> |
330 |
</dt> |
331 |
<dd> |
332 |
``Unicode in XML and other Markup Languages'', Unicode Technical Report #20, |
333 |
W3C Note, <http://www.w3.org/TR/unicode-xml/>. This version of this module |
334 |
refers 2003-06-13 version of the W3C Note |
335 |
<http://www.w3.org/TR/2003/NOTE-unicode-xml-20030613/>. |
336 |
</dd> |
337 |
<p></p></dl> |
338 |
<p> |
339 |
</p> |
340 |
<hr /> |
341 |
<h1><a name="license">LICENSE</a></h1> |
342 |
<p>Copyright 2007 Wakaba <<a href="mailto:w@suika.fam.cx">w@suika.fam.cx</a>></p> |
343 |
<p>This library and the library generated by it is free software; |
344 |
you can redistribute them and/or modify them under the same |
345 |
terms as Perl itself.</p> |
346 |
|
347 |
</body> |
348 |
|
349 |
</html> |