The manakai project

CharClass

A Perl Regular Expression Character Class Library

SYNOPSIS

  use Char::Class::XML qw/InXML_NameStartChar10 InXMLNameChar10/;
  
  if ($name !~ /\A<strong>\p{InXML_NameStartChar10}</strong><strong>\p{InXMLNameChar10}</strong>*\z/) {
    die "$0: $name: This is not an XML 1.0 Name";
  }

MODULES

Modules defining character classes:

Char::Class::Alphabet

Character classes for alphabetical letters.

Char::Class::Han

Han character (CJK ideograph) classes.

Char::Class::Hiragana

Hiragana classes.

Char::Class::IDNBlacklist

Characters in IDN blacklist, as maintainted by the Mozilla project for display of IDNs in their product.

Char::Class::JaInput

Character classes defined in JIS input method standards.

Char::Class::ISOIECTR10176

ISO/IEC TR 10176 character repertoires.

Char::Class::JISX0221

JIS X 0221 character collections.

Char::Class::JISX4051

JIS X 4051 character classes.

Char::Class::JISX4052

JIS X 4052 character classes.

Char::Class::Katakana

Katakana classes.

Char::Class::Kana

Kana (hiragana, katakana, and additions) classes.

Char::Class::RFC1815

RFC 1815 character sets.

Char::Class::UCS

UCS (ISO/IEC 10646) character collections.

Char::Class::XML

XML-related character classes such as InXML_NameStartChar10 (XML 1.0 name start characters) and InXMLNameChar (XML 1.1 name characters).

A module for normalization:

Char::Normalize::FullwidthHalfwidth

Normalization of ideographic space, fullwidth alphanumeric characters, and halfwidth Kakatana.

Modules for Unicode character properties:

Char::Prop::Unicode::Age

Unicode "Age" property.

Char::Prop::Unicode::BidiClass

Unicode "BidiClass" property.

Char::Prop::Unicode::5_1_0::BidiClass

Unicode 5.1.0 "BidiClass" property.

DEPENDENCY

All Perl modules in this repository are written in pure Perl.

They require Perl 5.8 or later.

DISTRIBUTION

The latest version of the modules is available at <https://github.com/wakaba/perl-charclass>.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2003-2016 Wakaba <wakaba@suikawiki.org>.

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.