From b821f8cc27f19f98ecce66cbbc23531aa6ef501e Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sat, 30 May 2026 16:00:40 +0200 Subject: [PATCH] Fix: drop single-letter R:/I: subject prefix tokens --- lib/subject-prefix.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/subject-prefix.ts b/lib/subject-prefix.ts index d9a6732b..5ca0d5aa 100644 --- a/lib/subject-prefix.ts +++ b/lib/subject-prefix.ts @@ -26,7 +26,9 @@ const REPLY_TOKENS = [ "回复", // Chinese "回覆", // Chinese traditional "답장", // Korean - "R", // Italian short form + // NB: deliberately no bare "R" token — a single letter would strip the first + // word of legitimate subjects like "R: budget 2024". The full "Re" covers + // the common Italian/English case anyway. ]; const FORWARD_TOKENS = [ @@ -41,7 +43,7 @@ const FORWARD_TOKENS = [ "RV", // Spanish caps "Rvf", // Spanish variant "Inol", // Italian (Inoltro) - "I", // Italian short + // NB: deliberately no bare "I" token — see the REPLY_TOKENS note above. "PD", // Polish (Przekazane Dalej) "PR", // Czech (Preposlat) "İlt", // Turkish (Ilet)