+
+ if ((flags & (SENDREPLY)) && option (OPTSTRIPWAS) && StripWasRegexp.rx &&
+ regexec (StripWasRegexp.rx, buf, 1, pat_match, 0) == 0) {
+ unsigned int pos = pat_match->rm_so;
+ if (ascii_strncasecmp (buf, "re: ", pos) != 0) {
+ buf[pos] = '\0'; /* kill match */
+ while (pos-- && buf[pos] == ' ')
+ buf[pos] = '\0'; /* remove trailing spaces */
+ } else {
+ mutt_error (_("Ignoring $strip_was: Subject would be empty."));
+ sleep (2);
+ }
+ }