summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/blob/blob_utils.js
blob: 27fcc7f7b79e75a67bfc4580af38918e081a64f2 (plain)
1
2
3
4
5
// capture anything starting with http:// or https://
// up until a disallowed character or whitespace
export const blobLinkRegex = /https?:\/\/[^"<>\\^`{|}\s]+/g;

export default { blobLinkRegex };