]> granicus.if.org Git - neomutt/commit
forgotten-attachment: fix empty regex expression
authorRichard Russon <rich@flatcap.org>
Mon, 10 Oct 2016 08:51:05 +0000 (09:51 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 10 Oct 2016 09:10:16 +0000 (10:10 +0100)
commit3bc69ca25077b171f1ae9beee484629c5b5c6482
tree49dfc91fe3b87b9eceb9f0ce0d6707b8776eaf8c
parenta03e45b2b0ad86a33ec61f819ad21451eff8a331
forgotten-attachment: fix empty regex expression

The original regex was of the form "abc(|def)" to check for both "abc"
and "abcdef".  Unfortunately, the regex libraries on BSDs/MacOS don't
like this use of an empty sub-expression.

Expanding the regex to: "(abc|abcdef)" fixes the problem.

Fixes: neomutt/homebrew-neomutt#15
doc/manual.xml.head
doc/muttrc.forgotten-attachment
init.c
init.h
send.c