NAME
Regexp::Ethiopic - Regular Expressions Support for Ethiopic Script
SYNOPSIS
#
# Overloading Perl REs:
#
use utf8;
use Regexp::Ethiopic 'overload';
:
s/([#2#])/fixForm($1,6)/eg;
s/([መረበወ]%2)/fixForm($1,6)/eg;
s/([መረበወ]%{1,3})/fixForm($1,6)/eg;
s/([መረበወ]%{1-3,7})/fixForm($1,6)/eg;
if ( /[#ኘ#]/ ) {
#
# do something
#
:
}
:
:
#
# Without overloading:
#
use utf8;
require Regexp::Ethiopic;
my $string = "[መረበወ]%{1-3,7}";
my $re = Regexp::Ethiopic::getRe ( $re );
s/abc($re)xyz/"abc".fixForm($1,6)."xyz"/eg;
DESCRIPTION
The Regexp::Ethiopic module provides POSIX style character class definitions for working with the Ethiopic syllabary. The character classes provided by the Regexp::Ethiopic package correspond to inate properties of the script and are language independent.
The Regexp::Ethiopic 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 known yet.
AUTHOR
Daniel Yacob, Yacob@EthiopiaOnline.Net
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 270:
Non-ASCII character seen before =encoding in 's/([መረበወ]%2)/fixForm($1,6)/eg;'. Assuming CP1252