Blocking in sense of "human language" is not possible. But you can block by unicode Script and/or unicode Blocks and/or unicode Categories or any other unicode Property in nearly all assp "Perl Regular Expression Filter and Spambomb Detection"
e.g. \p{Arabic} same like \p{IsScript:Arabic} \p{Arabic Presentation Forms-A} \p{Arabic Presentation Forms-B} or \p{Bidi_Class:R} which matches all right to left written characters (notice: this matches also hebrew !) \p{Bidi_Class:AL} Arabic letters https://perldoc.perl.org/perlunicode will help you, as well as the assp analyzers "Unicode Analysis:" see also: https://perldoc.perl.org/perluniintro nice explanation: https://www.regular-expressions.info/unicode.html keep in mind: Generally, if you’re not sure whether to use a Unicode script or Unicode block, use the script. Thomas Von: "Eric Germann via Assp-user" <assp-user@lists.sourceforge.net> An: "For Users of ASSP" <Assp-user@lists.sourceforge.net> Kopie: "Eric Germann" <ekgerm...@semperen.com> Datum: 07.01.2023 04:45 Betreff: [Assp-user] Stop spam in Arabic Is there anyway to tag as spam messages in certain languages? I get all kinds of spam in Arabic. Some makes it to the spam folder and some doesn’t. Wondering if there a way to block it -- Eric Germann ekgermann {at} semperen {dot} com || ekgermann {at} gmail {dot} com LinkedIn: https://www.linkedin.com/in/ericgermann Medium: https://ekgermann.medium.com Twitter: @ekgermann Telegram || Signal || Skype || Phone +1 {dash} 419 {dash} 513 {dash} 0712 GPG Fingerprint: 89ED 36B3 515A 211B 6390 60A9 E30D 9B9B 3EBF F1A1 [Anhang "attoermc.txt" gelöscht von Thomas Eckardt/eck] [Anhang "attiujfv.txt" gelöscht von Thomas Eckardt/eck]
_______________________________________________ Assp-user mailing list Assp-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/assp-user