1. Cameron Simpson
  2. css

Commits

Cameron Simpson  committed d34183e

email-add-spam-subject: escape "+" too

  • Participants
  • Parent commits a327472
  • Branches default

Comments (0)

Files changed (1)

File bin-cs/email-add-spam-subject

View file
 eval `mhdrs -sh < "$tmpf" | sed 's/^/hdr_/'`
 subj=$hdr_SUBJECT
 [ -n "$subj" ]
-re_subj=\^$(printf "%s\n" "$subj" | sed '2,$d; s/[\[]()|$*?\\]/\\&/g')
+re_subj=\^$(printf "%s\n" "$subj" | sed '2,$d; s/[\[]()|$+*?\\]/\\&/g')
 [ -n "$re_subj" ]
 
 ( cat "$filer"