Re: [Tutor] Regex for a variable within a string

2009-04-08 Thread Kent Johnson
On Wed, Apr 8, 2009 at 6:28 AM, David Cash wrote: > Hi, I'm new to python and have decided to develop a web crawler / file > downloader as my first application. I am at the stage where the script > requests a page and parses the page for URLs, then prints them out. However, > I'd like to change my

[Tutor] Regex for a variable within a string

2009-04-08 Thread David Cash
Hi, I'm new to python and have decided to develop a web crawler / file downloader as my first application. I am at the stage where the script requests a page and parses the page for URLs, then prints them out. However, I'd like to change my current regex that greps for 'http' to one that will grep