1function urlify (text) { 2 return text.replace(/--/g, ' -- ').replace(/http/g, ' http').replace(/\<br\>/g, ' <br> ').replace(/(https?:\/\/)([^ ]+)/g, '<a target="_blank" href="$&">$2</a>'); 3} 4 5export { urlify as default }
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.