From: Mike Frysinger Date: Sun, 2 Jan 2022 04:02:02 +0000 (-0500) Subject: mutt: improve reply regex X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=78c864083d6c62f9bf821f2b7eee26793d914e20;p=home.git mutt: improve reply regex --- diff --git a/.config/mutt/main.rc b/.config/mutt/main.rc index d21b300..0546d91 100644 --- a/.config/mutt/main.rc +++ b/.config/mutt/main.rc @@ -32,7 +32,13 @@ set pager_stop = yes set autoedit = yes set editor = "nano -r 80" set fast_reply = yes -#set reply_regexp = "^(([Rr][Ee]|[aA][wW]):[[:space:]]*)*" +# The regex is case-insensitive POSIX ERE. Handle multiple prefixes using diff +# common languages seen in groups. +# RE: English/Spanish +# AW: German +# SV: Scandinavian +# 回复: Simplified Chinese (Mandarin) +set reply_regexp = "^((re|fwd|aw|sv|回复):[ \t]*)*" set include = yes ignore *