From 78c864083d6c62f9bf821f2b7eee26793d914e20 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 Jan 2022 23:02:02 -0500 Subject: [PATCH] mutt: improve reply regex --- .config/mutt/main.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 * -- 2.39.5