Lingua::AR::Regexp - Regular Expression character classes for Arabic
use Lingua::AR::Regexp; use utf8; $_ = 'جزئ'; say 'Has a Hamza' if /\p{Lingua::AR::Regexp::IsHamza}/; say 'Hamza fixed' if s/(?<=\p{Lingua::AR::Regexp::IsSplitting})ئ/ء/g;
Check whether character is or has a Hamza (Including maddas)
Check whether character is Tashkeel (short vowels)
Check whether character is a Non spacing mark (\p{Mn}) Hamza (Including maddas)
\p{Mn}
Check whether character has a Hamza (Including maddas)
Matches characters that break the horizontal stroke of the word.
http://github.com/athreef/Lingua-AR-Regexp
Ahmad Fatoum <athreef@cpan.org>, http://a3f.at
<athreef@cpan.org>
Copyright (C) 2016 Ahmad Fatoum
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Lingua::AR::Regexp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::AR::Regexp
CPAN shell
perl -MCPAN -e shell install Lingua::AR::Regexp
For more information on module installation, please visit the detailed CPAN module installation guide.