···6565 validLinksPattern = regexp.MustCompile(`^[a-z][\w-]+://`)
66666767 // filePreviewPattern matches "http://domain/org/repo/src/commit/COMMIT/filepath#L1-L2"
6868- filePreviewPattern = regexp.MustCompile(`https?://((?:\S+/){4,5})src/commit/([0-9a-f]{4,64})/(\S+)#(L\d+(?:-L\d+)?)`)
6868+ filePreviewPattern = regexp.MustCompile(`https?://((?:\S+/){3})src/commit/([0-9a-f]{4,64})/(\S+)#(L\d+(?:-L\d+)?)`)
69697070 // While this email regex is definitely not perfect and I'm sure you can come up
7171 // with edge cases, it is still accepted by the CommonMark specification, as