From c0cd6bd1e8da97f361c7e12695e87cbe860ef315 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 18 Mar 2017 18:25:17 -0700 Subject: [PATCH] tweak the UPS Id match --- common/virus_spam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/virus_spam b/common/virus_spam index 2feae6f..5e88e97 100644 --- a/common/virus_spam +++ b/common/virus_spam @@ -100,11 +100,11 @@ describe FEDEXPACKAGE Fedex Package Virus spam score FEDEXPACKAGE 4 #don 2016-11-04 -header SHIPPING_ID subject =~ /(ID:?|ID|\#|n\.|UPS)\s*\d{7,}\s*\)?\s*($|shipment|delivery)/ +header SHIPPING_ID subject =~ /(ID:?|ID|\#|n\.|UPS(| parcel))\s*\d{7,}\s*\)?\s*($|shipment|delivery)/ describe SHIPPING_ID Contains a long ID number at the end or folled by shipment score SHIPPING_ID 3 -header SHIP_ID_INT subject =~ /(ID:?|ID|\#|n\.|UPS)\s*\d{7,}\s*/ +header SHIP_ID_INT subject =~ /(ID:?|ID|\#|n\.|UPS(| parcel))\s*\d{7,}\s*/ describe SHIP_ID_INT Contains a long ID number inside score SHIP_ID_INT 1 -- 2.39.2