aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-31 16:48:05 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-31 16:48:05 -0400
commit60627c96f50a06483a57734c6b2a369ba84794ac (patch)
tree1d3b608f01b10c44428d01b0946c67ff4eb9328a
parent78d3f958e06d04ff2db9946b5a842dba25df2b70 (diff)
Use better regex for identifying patches
-rw-r--r--config/aerc.conf2
1 files changed, 1 insertions, 1 deletions
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