News for hackers. Stuff that matters.
Re:In search of the perfect URL validation regex by zAy0LfpBZLC8mAC on Sunday June 22, 2014 @10:21PM (#7929891)
/./ will also match any URL. The point is to reject non-URLs.
Re:In search of the perfect URL validation regex by mathias on Monday June 23, 2014 @03:07AM (#7930607)
Yes, to reject non-URLs and also some URLs that are technically valid but that I want to explicitly disallow anyway.