Re:In search of the perfect URL validation regex (2010)
by jt2190 on Saturday September 25, 2021 @05:08PM
(#28656200)
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.
[ Parent
| on HN ]
Re:In search of the perfect URL validation regex (2010)
by staticassertion on Saturday September 25, 2021 @08:33PM
(#28657359)
> 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