svn commit: r1932423 - spamassassin/trunk/rules

[email protected]
Newsgroups gmane.mail.spam.spamassassin.cvs
Message-ID <[email protected]>
Author: jhardin
Date: Sat Mar 21 02:01:36 2026
New Revision: 1932423

Log:
Add replace tag for all digits (like \d only obfuscation-aware)

Modified:
   spamassassin/trunk/rules/25_replace.cf

Modified: spamassassin/trunk/rules/25_replace.cf
==============================================================================
--- spamassassin/trunk/rules/25_replace.cf	Sat Mar 21 01:16:05 2026	(r1932422)
+++ spamassassin/trunk/rules/25_replace.cf	Sat Mar 21 02:01:36 2026	(r1932423)
@@ -73,6 +73,8 @@ replace_tag	7	(?:[7]|[\xef][\xbc][\x97]|
 replace_tag	8	(?:[8]|[\xef][\xbc][\x98]|[\xe2](?:[\x81][\xb8]|[\x82][\x88]|[\x91][\xa7\xbb]|[\x93][\xbc]|[\x9d][\xbd])|[\xf0][\x9d][\x9f][\x96\xa0\xaa\xb4\xbe])
 # <9>: 9 q g 9 ⁹ ₉ ⑨ ⑼ ⓽ ❾ 𝟗 𝟡 𝟫 𝟵 𝟿
 replace_tag	9	(?:9|(?-i:[qg])|[\xef][\xbc][\x99]|[\xe2](?:[\x81][\xb9]|[\x82][\x89]|[\x91][\xa8\xbc]|[\x93][\xbd]|[\x9d][\xbe])|[\xf0][\x9d][\x9f][\x97\xa1\xab\xb5\xbf])
+# <DIGIT>: ⁰-⁹ ₀-₉ ①-⑨ ⑴-⑼ ⓪⓵-⓽⓿ ❶-❾ ➀-➈ ➊-➒ 🄋🄌 0-9 𝟎-𝟿
+replace_tag	DIGIT	(?:[0-9]|[\xc2][\xb2\xb3\xb9]|[\xef][\xbc][\x90-\x99]|[\xe2](?:[\x81][\xb0\xb4-\xb9]|[\x82][\x80-\x89]|[\x91][\xa0-\xa8\xb4-\xbc]|[\x93][\xaa\xb5-\xbd\xbf]|[\x9d][\xb6-\xbe])|[\xf0][\x9d][\x9f][\x8e-\xbf])
 replace_tag	IMG	(?:jpe?g|gif|png)
 replace_tag	SP	[\s\d_*\$\%(),.:;?!}{\[\]|\/?^\#~\xa1`'+-]
 replace_tag	WS	(?:=?\s|[\xe2](?:[\x80][\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\xaf]|[\x81][\x9f])|&(?:\#(?:8(?:19[2-9]|20[0-5]|239|287)|160|xa0)|(?:e[nm]|nb|thin)sp);)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.