Regexp::Ethiopic::Amharic - Regular Expressions Support for Amharic Language.


Regexp-Ethiopic documentation  | view source Contained in the Regexp-Ethiopic distribution.

Index


NAME

Top

Regexp::Ethiopic::Amharic - Regular Expressions Support for Amharic Language.

SYNOPSIS

Top

 #
 #  Overloading Perl REs:
 #
 use utf8;
 use Regexp::Ethiopic::Amharic 'overload';

 :




 if ( /([=አ=])ለም[=ጸ=][=ሃ=]ይ/ ) {
   #
   # do something
   #
   :
 }

 :
 :

 #
 #  Without overloading:
 #
 use utf8;
 require Regexp::Ethiopic::Amharic;

 my $string = "([=አ=])ለም[=ጸ=][=ሃ=]ይ/";
 my $re = Regexp::Ethiopic::Amharic::getRe ( $re );

 s/abc($re)xyz/"abc".fixForm($1,6)."xyz"/eg;

DESCRIPTION

Top

The Regexp::Ethiopic::Amharic module provides POSIX style character class definitions for working with the localized use of Ethiopic syllabary in the Amharic (am) language. The character classes provided by the Regexp::Ethiopic::Amharic package correspond to properties of the script under Amharic orthography rules.

The Regexp::Ethiopic::Amharic uses Regexp::Ethiopic so generally you would not need to import both. Regexp::Ethiopic::Amharic conditionally exports the hashes %AmharicEquivalence and %AmharicClassEquivalence should you wish to use them. Regexp::Ethiopic::Amharic can also export %EthiopiClass of Regexp::Ethiopic:

use Regexp::Ethiopic::Amharic qw(%EthiopicClasses %AmharicEquivalence %AmharicClassEquivalence);

The Regexp::Ethiopic::Amharic package is NOT derived from the Regexp class and may not be instantiated into an object. See the files in the doc/ and examples/ directories that are included with this package.

REQUIRES

Top

Works perfectly with Perl 5.8.0, may work with Perl 5.6.x but has not yet been tested.

BUGS

Top

None presently known.

AUTHOR

Top

Daniel Yacob, dyacob@cpan.org


Regexp-Ethiopic documentation  | view source Contained in the Regexp-Ethiopic distribution.