4 ms·
There's also a question of what we're really trying to validate, IMHO. All of these regex patterns will tell you that a string looks like a URL, but they won't
by jt2190 5y ago
There's also a question of what we're really trying to validate, IMHO. All of these regex patterns will tell you that a string looks like a URL, but they won't actually tell you if: There's any web server listening at that particular URL; Whether that server has the resource in that location; If that server is reachable from where you want to fetch it; etc.
- staticassertion 5y ago> All of these regex patterns will tell you that a string looks like a URL, yeah that's it that's what they're trying to validate
- MPSimmons 5y agoIt seems like the answer is almost always yes.