[ale] Extraction of address and pages

Christopher Fowler cfowler at outpostsentinel.com
Thu Nov 4 14:50:46 EST 2004


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



More information about the Ale mailing list