Update source/utils/misc.brs
Co-authored-by: Charles Ewert <cewert@gmail.com>
This commit is contained in:
parent
a4de58b00e
commit
5b508e7024
|
@ -229,7 +229,7 @@ function isValidAndNotEmpty(input as dynamic) as boolean
|
|||
end function
|
||||
|
||||
' Returns an array from a url of [proto, host, port, subdir/params]
|
||||
' Proto must be declared or array members will be invalid
|
||||
' Proto must be declared or array will be empty
|
||||
function parseUrl(url as string) as object
|
||||
rgx = CreateObject("roRegex", "^(.*:)//([A-Za-z0-9\-\.]+)(:[0-9]+)?(.*)$", "")
|
||||
return rgx.Match(url)
|
||||
|
|
Loading…
Reference in New Issue
Block a user