Too big of a list? and other problems
bnblazer at gmail.com
Tue May 23 03:46:20 CEST 2006
Tim Chase wrote:
> While I'm not sure if this is the issue, you might be having some
> trouble with the greediness of the "*" repeater here. HTML like
> <img src="images/1.jpeg"><img src="hello.jpeg">
> will yield a result of
> "images/1.jpeg"><img src="hello.jpeg"
> rather than the expected
> You can make it "stingy" (rather than greedy) by appending a
> I also don't know if they all are coming back as "jpeg", or if
> some come back as "jpg", in which case you might want to use
Thanks Tim! That modification to the regex helped a lot, and believe
it or not, my pic count went up!
More information about the Python-list