[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] Extraction of address and pages



I'm trying to create a very simple proxy in perl.

On Thu, 2004-11-04 at 14:49, Christopher Fowler wrote:
> I'm trying to get http://addr:port/page 
> 
> from:
> 
> GET http://www.google.com/ HTTP/1.1
> 
> this sucks as it is too greedy.  Anyone have a suggestion.
> $m =~ m/http:\/\/(.+)\/\s+/;
> 
> Thanks,
> Chris
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale