如何在Clojure中返回给定字符串的有效URL.
(re-matches #"????" "www.example.com"))
(re-matches #"????" "http://example.com"))
(re-matches #"????" "http://example.org")) // returns "http://example.org"
(re-matches #"????" "htasdtp:/something")) // returns nil
Run Code Online (Sandbox Code Playgroud)