We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e783dbd commit 12b0886Copy full SHA for 12b0886
1 file changed
src/auto-reply/tokens.ts
@@ -326,7 +326,7 @@ export function isSilentReplyPrefixText(
326
// from the token. Otherwise, a pure-letter prefix like "HE" for "HELP-QUIET"
327
// would suppress natural language that happens to share that prefix (#100007).
328
if (/[^A-Z_]/.test(tokenUpper)) {
329
- return [...tokenUpper].some((ch) => /[^A-Z_]/.test(ch) && normalized.includes(ch));
+ return /[^A-Z_]/.test(normalized);
330
}
331
return tokenUpper === SILENT_REPLY_TOKEN && normalized === "NO";
332
0 commit comments