Update issue-detection RegEx

This commit is contained in:
Joseph T Lyons 2024-08-11 14:40:27 -04:00
parent 36a560dcd0
commit 492f6b9cdf

View file

@ -37,7 +37,7 @@ if (!hasReleaseNotes) {
} }
const ISSUE_LINK_PATTERN = new RegExp( const ISSUE_LINK_PATTERN = new RegExp(
"(?:^|\\s)(?:#(\\d+)|https:\\/\\/github\\.com\\/zed-industries\\/zed\\/issues\\/(\\d+))", "(?:https://github\\.com/[\\w-]+/[\\w-]+/issues/\\d+|#\\d+)",
"g", "g",
); );