Changes between Version 3 and Version 4 of Ticket #7296


Ignore:
Timestamp:
02/17/2019 04:14:08 PM (4 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7296 – Description

    v3 v4  
    33 
    44{{{ 
    5 let [, hostname] = /(?:[^:]+:)(?:\/\/(?:[^\/]*@)?(\[[^\]]*\]|[^:\/]+))?/ 
     5let [, hostname] = /^(?:[^:]+:)(?:\/\/(?:[^\/]*@)?(\[[^\]]*\]|[^:\/]+))?/ 
    66                   .exec(url) || []; 
    77}}}