1
0
mirror of https://git.sr.ht/~sircmpwn/aerc synced 2024-11-23 16:42:07 +01:00

Use better regex for identifying patches

This commit is contained in:
Drew DeVault 2019-03-31 16:48:05 -04:00
parent 78d3f958e0
commit 60627c96f5

@ -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