From cb1e9984753ff34329d44e237aebad0e5619dfe8 Mon Sep 17 00:00:00 2001 From: Aaron Axvig Date: Fri, 20 Mar 2026 15:26:46 -0500 Subject: [PATCH] Issue ID parser fix --- web/js/process.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/process.js b/web/js/process.js index d95bc21..068dba7 100644 --- a/web/js/process.js +++ b/web/js/process.js @@ -14,8 +14,8 @@ if (typeof document !== 'undefined') { let activeDownloadUrl = null; const PROCESS_FORM_STATE_KEY = 'bugmedley.process.formState.v1'; -const ISSUE_ID_PATTERN = /((?:[A-Z]{2,6}|WF500)-\d{4,8})/i; -const ISSUE_ID_LIST_PREFIX_PATTERN = /^\s*((?:(?:[A-Z]{2,6}|WF500)-\d{4,8})(?:\s*(?:,|and|&)\s*(?:(?:[A-Z]{2,6}|WF500)-\d{4,8}))*)/i; +const ISSUE_ID_PATTERN = /((?:[A-Z]{2,6}|WF500)-\d{3,8})/i; +const ISSUE_ID_LIST_PREFIX_PATTERN = /^\s*((?:(?:[A-Z]{2,6}|WF500)-\d{3,8})(?:\s*(?:,|and|&)\s*(?:(?:[A-Z]{2,6}|WF500)-\d{3,8}))*)/i; const BLOCK_CONTAINER_TAGS = new Set(['ARTICLE', 'ASIDE', 'BLOCKQUOTE', 'DIV', 'P', 'PRE', 'SECTION']); const TEXT_NODE = 3; const ELEMENT_NODE = 1;