changeset 4:18db20bcc65b

loosen up utf-8 pattern more
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 17 Sep 2022 11:17:31 +0100
parents 0a81352bd7d0
children 8e0e16f4763c
files shared/gnus-init.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/shared/gnus-init.el	Sat Sep 17 11:01:40 2022 +0100
+++ b/shared/gnus-init.el	Sat Sep 17 11:17:31 2022 +0100
@@ -279,7 +279,7 @@
 	      sres))
 	(| (to "ht\\+d@inf\\.ed\\.ac\\.uk" "_diary")
 	     (: ad-spam "adverts")
-	     (: split-on-whole-field "Subject" ".*=\\?UTF-8.*=[A-F][0-9]=.*\\?=.*" "slSPAM")
+	     (: split-on-whole-field "Subject" ".*=\\?UTF-8\\(\\?B\\\?\\|.*=[A-F][0-9]=\\).*\\?=.*" "slSPAM")
 	     (: white-spam "waSPAM")
 	     ("X-Bogosity" "Yes.*"
 	      (|