in reply to perl module to determine if a URL is valid?
It comes with two caveats though: It doesn't understand https (only http), so I do something like this in my code:
use Regexp::Common qw /URI/; my $re = $RE{URI}{HTTP}; $re =~ s/http/https?/g;
The second caveat is that it doesn't understand anchors (ie the part after a # pound sign).
|
|---|