diff --git a/lib/xtnd.coffee b/lib/xtnd.coffee index d7371d8..82a0dbd 100644 --- a/lib/xtnd.coffee +++ b/lib/xtnd.coffee @@ -1,7 +1,7 @@ xtnd = exports _guide = null -_threeComponents = /^(https?):\/\/([^\/]*)(.*)$/ +_threeComponents = /^(https?)?:?\/\/([^\/]*)(.*)$/ _twoComponents = /^\/\/([^\/]*)(.*)$/ listToHash = (str) ->