UNPKG

@lando/platformsh

Version:

A Lando plugin that provides a tight integration with Platform.sh.

9 lines (5 loc) 205 B
var parse_url = /^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/; function parse (url) { return parse_url.exec(url); } module.exports = parse;