From 60627c96f50a06483a57734c6b2a369ba84794ac Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 31 Mar 2019 16:48:05 -0400 Subject: [PATCH] Use better regex for identifying patches --- config/aerc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/aerc.conf b/config/aerc.conf index 41d4b1f..8b3ac3a 100644 --- a/config/aerc.conf +++ b/config/aerc.conf @@ -68,7 +68,7 @@ alternatives=text/plain,text/html # You can also match on non-mimetypes, by prefixing with the header to match # against (non-case-sensitive) and a comma, e.g. subject,text will match a # subject which contains "text". Use header,~regex to match against a regex. -subject,~PATCH=contrib/hldiff.py +subject,~^\[PATCH=contrib/hldiff.py text/html=contrib/html text/*=contrib/plaintext.py