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