diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-21 14:27:51 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-11-21 14:27:51 -0700 |
commit | 1eb413da0dc9ca57793e6daec03b6f373151eaff (patch) | |
tree | aa3731f01b352dc8ffc22a179532ec8519243b52 /notmuch-extract-patch/notmuch-extract-patch | |
parent | 693117551a0e21359ac6dbadba443516c56b04df (diff) | |
download | mailscripts-1eb413da0dc9ca57793e6daec03b6f373151eaff.tar.gz |
notmuch-extract-patch: tolerate text in Subject: before [PATCH nn/mm]
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'notmuch-extract-patch/notmuch-extract-patch')
-rwxr-xr-x | notmuch-extract-patch/notmuch-extract-patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-extract-patch/notmuch-extract-patch b/notmuch-extract-patch/notmuch-extract-patch index 4cfda4c..7eff31a 100755 --- a/notmuch-extract-patch/notmuch-extract-patch +++ b/notmuch-extract-patch/notmuch-extract-patch @@ -56,7 +56,7 @@ def has_reroll_count(msg, v): or (v == 1 and not any(entry[0] == 'v' for entry in subject_prefix)) def get_subject_prefix(s): - match = re.search(r'''^\[(.*PATCH.*)\]''', s) + match = re.search(r'''\[(.*PATCH.*)\]''', s) if match: return match.group(1).split() |