Encode...TeX::RE(3pm)
π Encode::Arabic::ArabTeX::RE β the manual, but make it make sense π
okay bestie, so this is Encode::Arabic::ArabTeX::RE, and the whole vibe is: it's the deprecated version of Encode::Arabic::ArabTeX, and it does its thing with regular expressions. gone but iconic π«Ά
This page lives in the User Contributed Perl Documentation corner of the 3pm manuals. π
β¨ SYNOPSIS β¨
like, the literal whole API, bestie, it's two lines:
use Encode::Arabic::ArabTeX::RE;
$string = decode 'arabtex-re', $octets;
$octets = encode 'arabtex-re', $string;
that's it. that's the girl. π
πΈ DESCRIPTION πΈ
so this is the deprecated method, and the way it works is by doing sequential regular-expression substitutions. it's giving "old reliable but make it regex" π
real talk though, let's be honest about the tradeoffs:
- it's limited in scope compared to the ArabTeX notation as a whole β it doesn't cover everything
- it's non-efficient in data processing β not fast, not cute for big jobs
- BUT the one thing it does have going for it: it does not require the
Encode::Mappermodule β¨
so if you can't or won't pull in Encode::Mapper, this is your girl. π¦
π§ EXPORTS & MODES π§
it exports everything as if use Encode also appeared in the package β same energy, same exports, no extra steps. π
as for conversion modes? there's support, but it's experimental and incomplete. like, it's trying its best, okay?? π
go read Encode::Arabic::ArabTeX for the real deal on modes, iykyk.
π SEE ALSO π
Encode::Arabic::ArabTeXβ the non-deprecated main character π
π« AUTHOR π«
Otakar Smrz <otakar-smrz users.sf.net>, and their page is at <http://otakar-smrz.users.sf.net/> β periodt. π
π COPYRIGHT AND LICENSE π
Copyright (C) 2003-2016 Otakar Smrz
the tea: this library is free software π«Ά you can redistribute it and/or modify it under the same terms as Perl itself. no cap.
okay that's the whole page, bestie, you ate it π
β¨ this was documented as perl v5.36.0 on 2022-10-16, and the page is filed as Encode...TeX::RE(3pm) β mwah, go forth and decode ππ
π¦ where this page comes from
- ubuntu noble: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libencode-arabic-perl 14.2-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms