## This file is auto-generated (at 2008-11-24T04:21:27Z). ## Do not edit by hand! use strict; package Char::Class::JISX4052; our $VERSION = '1.01'; use Exporter; use vars qw(@EXPORT_OK @ISA $VERSION); @ISA = qw(Exporter); =head1 NAME Char::Class::JISX4052 - Regular Expression Character Classes - C =head1 DESCRIPTION JIS X 4052 character classes represented in UCS, defined by JIS X 4052 Appendix 1, 2 and 3 =cut sub import ($;@) { my ($self, @sub) = (shift, @_); for (@sub) { no strict 'refs'; *{'main::'.$_} = \&{$_}; } $Exporter::ExportLevel = 1; $self->SUPER::import (@_); $Exporter::ExportLevel = 0; } @EXPORT_OK = qw(InJISX4052Alphabetic InJISX4052AlphabeticBasic InJISX4052AlphabeticRecommended InJISX4052Digits InJISX4052KanaCharacter InJISX4052Kenten); sub InJISX4052Alphabetic { &InJISX4052AlphabeticBasic. &InJISX4052AlphabeticRecommended. '' } sub InJISX4052AlphabeticBasic { < 欧文用文字クラス (JIS X 4052:2000 附属書3) =item C 欧文用文字クラス基本文字種 (JIS X 4052:2000 附属書2) =item C 欧文用文字クラス推奨文字種 (JIS X 4052:2000 附属書3) =item C 連数字クラス (JIS X 4052:2000 附属書4) =item C 仮名文字クラス (JIS X 4052:2000 附属書1) =item C 圏点クラス (JIS X 4052:2000 附属書2) =back =cut =head1 EXAMPLE use Char::Class::JISX4052; if ($s =~ /\p{InKanaCharacter}/) { print "Match!\n"; } =head1 SEE ALSO JIS X 4052:2000, 『日本語文書の組版指定交換形式 Exchange format for Japanese documents with composition markup』, 日本工業標準調査会 Japanese Industrial Standard Commitee (JISC ), 2000. =head1 LICENSE Copyright 2008 わかば Wakaba This library and the library generated by it is free software; you can redistribute them and/or modify them under the same terms as Perl itself. =cut 1; ### JISX4052.pm ends here