From 133f14c0af924944aeb78845deec8359db2b77f6 Mon Sep 17 00:00:00 2001 From: Ayaan Zaidi Date: Thu, 26 Feb 2026 15:59:53 +0530 Subject: [PATCH] docs(auto-reply): align silent token comment with regex --- src/auto-reply/tokens.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auto-reply/tokens.ts b/src/auto-reply/tokens.ts index bb53b6727c3..0aeda237ee6 100644 --- a/src/auto-reply/tokens.ts +++ b/src/auto-reply/tokens.ts @@ -11,8 +11,8 @@ export function isSilentReplyText( return false; } const escaped = escapeRegExp(token); - // Only match when the entire response (trimmed) is the silent token, - // optionally surrounded by whitespace. This prevents + // Match only the exact silent token with optional surrounding whitespace. + // This prevents // substantive replies ending with NO_REPLY from being suppressed (#19537). return new RegExp(`^\\s*${escaped}\\s*$`).test(text); }