ዳንኤል ያዕቆብ > Regexp-Ethiopic-0.15 > Regexp::Ethiopic::Tigrigna

Download:
Regexp-Ethiopic-0.15.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.05   Source  

NAME ^

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

SYNOPSIS ^

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

 :


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

 :
 :

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

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

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

DESCRIPTION ^

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

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

use Regexp::Ethiopic::Tigrigna qw(%EthiopicClasses %TigrignaEquivalence %TigrignaClassEquivalence);

The Regexp::Ethiopic::Tigrigna 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 ^

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

BUGS ^

None presently known.

AUTHOR ^

Daniel Yacob, dyacob@cpan.org

syntax highlighting: