Version: 0.0.10.0.20.0.30.0.40.0.50.0.61.0.01.1.01.2.11.3.01.3.11.4.01.5.01.6.01.7.01.7.11.8.01.8.11.8.21.8.31.8.41.9.01.10.02.0.02.1.02.2.02.2.12.3.02.3.12.3.22.4.02.4.12.4.22.5.02.5.12.6.02.6.12.7.02.7.12.7.22.8.02.8.12.8.42.8.52.9.02.10.02.11.0
const regex = require('./regex');
const url = () => regex(/^(https?|ftp):\/\/(-\.)?([^\s/?.#]+\.?)+(\/[^\s]*)?$/iu, 'url');
module.exports = url;