Char::Class::JISX4051 - Regular Expression Character Classes - JISX4051
JIS X 4051 character classes represented in UCS, defined by JIS X 4051 Appendix
InJISX4051AlphabeticExceptSpace
(18) 欧文間隔以外の欧文用文字
InJISX4051AlphabeticSpace
(17) 欧文間隔
InJISX4051CharacterInDigits
(15) 連数字中の文字
InJISX4051CharacterInUnitSymbol
(16) 単位記号中の文字
InJISX4051CloseBracket
(2) 終わり括弧類
InJISX4051FullStop
(6) 句点類
InJISX4051Hiragana
(11) 平仮名
InJISX4051JapaneseSpace
(10) 和字間隔
InJISX4051LineStartKinsokuJapaneseCharacter
(3) 行頭禁則和字
InJISX4051MiddleDot
(5) 中点類
InJISX4051MiscJapaneseCharacter
(12) (1)〜(11)以外の和字
InJISX4051OpenBracket
(1) 始め括弧類
InJISX4051PostShortenedSymbol
(9) 後置省略記号
InJISX4051PreShortenedSymbol
(8) 前置省略記号
InJISX4051SeparationSymbol
(4) 区切り約物
InJISX4051UnseparatableCharacter
(7) 分離禁止文字
InJISX4051WarichuuCloseBracket
(20) 割注終わり括弧類
InJISX4051WarichuuOpenBracket
(19) 割注始め括弧類
use Char::Class::JISX4051; if ($s =~ /\p{InCharacterInUnitSymbol}/) { print "Match!\n"; }
JIS X 4051-1995, 『日本語文書の行組版方法 Line composition rules for Japanese documents』, 日本工業標準調査会 Japanese Industrial Standard Commitee (JISC <http://www.jisc.go.jp/>), 1995.
Copyright 2008 わかば Wakaba <w@suika.fam.cx>
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.