From 5ad163b9a3252fb4c4582743e1e5db09aa36f7ba Mon Sep 17 00:00:00 2001 From: Kent Huang Date: Mon, 4 Mar 2024 23:59:10 +0800 Subject: [PATCH] [Feature] Change LINEAR_TICKET_ID_REGEX (#157) - Linear identifier support 1 ~ 5 characters Signed-off-by: Kent Huang --- utils/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/constants.ts b/utils/constants.ts index 6d3dd76..8abe0ea 100644 --- a/utils/constants.ts +++ b/utils/constants.ts @@ -62,7 +62,7 @@ export const GENERAL = { CONTRIBUTE_URL: "https://github.com/calcom/synclinear.com", IMG_TAG_REGEX: //g, INLINE_IMG_TAG_REGEX: /!\[.*?\]\((https:\/\/(?!.*\?signature=).*?)\)/g, - LINEAR_TICKET_ID_REGEX: /^\[\w{3}-\d{1,6}\]\s/, + LINEAR_TICKET_ID_REGEX: /^\[\w{1,5}-\d{1,6}\]\s/, LOGIN_KEY: "login", SYNCED_ITEMS: [ {