Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on In search of the perfect URL validation regex (2010). Parent comment
As an example, http://localhost/ is technically valid url, which he wants to block. Should this error say misformatted URL like all others?
Using regex to cover all such cases is really the wrong tool for the job.
There are no comments on this comment yet.
As an example, http://localhost/ is technically valid url, which he wants to block. Should this error say misformatted URL like all others?
Using regex to cover all such cases is really the wrong tool for the job.