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
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ alternatives=text/plain,text/html
# You can also match on non-mimetypes, by prefixing with the header to match # 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 # 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 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/html=contrib/html
text/*=contrib/plaintext.py text/*=contrib/plaintext.py