|
our $VERSION = version->declare( 'v0.44.1' );
use if $^V ge v5.12.0, feature => 'unicode_strings' ;
BEGIN {
die "Transliteration requires Perl 5.18 or above"
unless $^V ge v5.18.0;
}
no warnings 'experimental::regex_sets' ;
has 'transforms' => (
is => 'ro' ,
isa => ArrayRef,
init_arg => undef ,
default => sub { [
qr/(?^um:\G.)/ ,
{
type => 'transform' ,
data => [
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(كيا) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(ديا) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(كي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(هي) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ها) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ا) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ا) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(آ) ,
revisit => 0,
},
{
before => q([\p{L}\p{M}]) ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(إ) ,
revisit => 0,
},
{
before => q([\p{L}\p{M}]) ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(إ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ل) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(اي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q([^ \p{L} \p{M} \p{N}]) ,
after => q() ,
replace => q() ,
result => q(إي) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(اي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(اي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ك) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(كه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ج) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(جه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(نج) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(تش) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(تشه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ج) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(جه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ط) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(طه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(د) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ده) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ت) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ته) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(د) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ده) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ب) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(به) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ب) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(به) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(م) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ل) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ش) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ش) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(س) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ه) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ا) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ن) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q([^-]) ,
replace => q() ,
result => q(اي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(اي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(و) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(او) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ق) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(خ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(غ) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ز) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ره) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ف) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ي) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ر) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ل) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ل) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(ل) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(۔) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(۔) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(\.) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(١) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٢) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٣) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٤) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٥) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٦) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٧) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٨) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(٩) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q(\.) ,
revisit => 0,
},
{
before => q() ,
after => q() ,
replace => q() ,
result => q() ,
revisit => 0,
},
],
},
{
type => 'transform' ,
data => [
{
from => q(Any) ,
to => q(null) ,
},
],
},
{
type => 'conversion' ,
data => [
{
before => q() ,
after => q() ,
replace => q(([أإآا] \p{M} *) [أإآا] \p{M} *+),
result => q($1) ,
revisit => 0,
},
]
},
] },
);
no Moo;
1;
|