Typically, it isn't a good idea to use .*, as depending on the target string in question, the dot_match_all wild card might match more than you want. Since the star quantifier is greedy, it will match everything that it can (via the star), then backtrack. You hope that the backtracking stops at the correct <img part.
For example, assuming from the next snippet we want to match the first img tag.. that initial .* part in the pattern throws a wrench in the cogs so to speak:
$content = '<p>This is a test with an image: <img src="someFolderToSomeImage/someImage.gif" /></p><p>This is a another test: <img src="someFolderToSomeImage2/someImage2.gif" /></p>';
preg_match('/<p>.*(<img.*?)<\/p>/', $content, $match);
echo $match[1]; // hopefully you wanted the second img tag and not the first!
Generally, it is wiser to make quantifiers in these situations lazy (via .*?). But like anything else, it is circumstancial. Just that in cases like this, using greedy quantifiers could potentially give inaccurate results. An even better solution would be to use Dom / XPath, but I digress.