Closed tomekw closed 4 years ago
It really depends on your use case. There are a lot of things that are strictly speaking valid uris, but you probably only care for a subset of those. I would google for uri regexes and compare some approaches. Checking if something qualifies as a uri is not something this library does.
Thanks!
Thank you for the library! 👏
I read the code and played with the
uri-regex
but with all these groupings it's hard to check if string is a valid URI, like with(re-matches)
.Any ideas regarding canonical way of doing such thing? 🤔