Char::Class::JISX4051 - Regular Expression Character Classes - JISX4051
JIS X 4051 character classes represented in UCS, defined by JIS X 4051 Appendix
InJISX4051AlphabeticExceptSpaceInJISX4051AlphabeticSpaceInJISX4051CharacterInDigitsInJISX4051CharacterInUnitSymbolInJISX4051CloseBracketInJISX4051FullStopInJISX4051HiraganaInJISX4051JapaneseSpaceInJISX4051LineStartKinsokuJapaneseCharacterInJISX4051MiddleDotInJISX4051MiscJapaneseCharacterInJISX4051OpenBracketInJISX4051PostShortenedSymbolInJISX4051PreShortenedSymbolInJISX4051SeparationSymbolInJISX4051UnseparatableCharacterInJISX4051WarichuuCloseBracketInJISX4051WarichuuOpenBracket
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 2007 わかば 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.