(owner, repo)
| 25 | } |
| 26 | |
| 27 | function isValidGitHubReference (owner, repo) { |
| 28 | return GITHUB_OWNER_REGEX.test(owner) && GITHUB_REPO_REGEX.test(repo) |
| 29 | } |
| 30 | |
| 31 | function extractGitHubLinks (content) { |
| 32 | const regex = /\[([^\]]+)\]\((https:\/\/github\.com\/([^/]+)\/([^/)]+)[^)]*)\)/g |