Files
AFFiNE-Mirror/blocksuite/affine/block-embed/src/embed-github-block/embed-github-model.ts
T
2024-12-20 15:38:06 +08:00

3 lines
124 B
TypeScript

export const githubUrlRegex: RegExp =
/^(?:https?:\/\/)?(?:www\.)?github\.com\/([^/]+)\/([^/]+)\/(issue|pull)s?\/(\d+)$/;