develooper Front page | perl.fwp | Postings from August 2001

Re: how to much an URL?

Thread Previous | Thread Next
From:
Sven Neuhaus
Date:
August 17, 2001 11:07
Subject:
Re: how to much an URL?
Message ID:
20010817200744.A13732@neopoly.com
On Fri, Aug 17, 2001 at 12:33:28PM -0400, J.Robert Suckling wrote:
> MoldNet Root wrote:
> > sorry if this is an off-topic, but i'd
> > like to know which is the best regex to much
> > an URL...
> 
> Here's more then what you want, and the authors name is still here.
> Golf any one?
> 
>   $urls = '(' . join( '|', qw(    http gopher wais file ftp https
>                 ) ) . ')';

Are mailto: and news: URLs official? If so they're missing..

-Sven
-- 
Newlan's Truism:
	An "acceptable" level of unemployment means that the 
	government economist to whom it is acceptable still has a job.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About