Skip to content

Commit

Permalink
[Feature] Change LINEAR_TICKET_ID_REGEX (#157)
Browse files Browse the repository at this point in the history
- Linear identifier support 1 ~ 5 characters

Signed-off-by: Kent Huang <kentwelcome@gmail.com>
  • Loading branch information
kentwelcome authored Mar 4, 2024
1 parent b027719 commit 5ad163b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const GENERAL = {
CONTRIBUTE_URL: "https://github.com/calcom/synclinear.com",
IMG_TAG_REGEX: /<img.*src=[\'|\"| ]?https?:\/\/(.*?)[\'|\"| ].*\/?>/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: [
{
Expand Down

0 comments on commit 5ad163b

Please sign in to comment.