Re:In search of the perfect URL validation regex
by masklinn on Sunday June 22, 2014 @05:21PM
(#7929268)
The first one I'm not sure, it looks like a valid FQDN (equivalent to www.foo.bar, where the trailing dot is implicit). The second one I guess it has to do with punycode and internaltional URI encoding?
[ Parent
| on HN ]
Re:In search of the perfect URL validation regex
by Dylan16807 on Sunday June 22, 2014 @11:07PM
(#7930005)
You'd only have to filter out xn--, though.