Fork me on GitHub
#clojure-spec
<
2021-06-24
>
Usman19:06:51

Hi all, How would I go about creating random URLs that begin with https:// using spec? I'm new to clojure and spec so any support/explanations will be much appreciated. :)

seancorfield19:06:28

@usman.jamil I'd probably use a string regex and gfrederick's test.chuck lib which has a generator for regexes.

👍 2
Usman19:06:11

Thanks. I will have a look at that.