Quote:
Originally Posted by Jellby
<a class="whatever" href="#here">this is a link</a> <a class="other" id="something"></a>
The whole red part would be matched by the first (.*?), right?
|
Yep. I missed that. Quite obvious when you see it all spelled out in red & black.
This discussion is a perfect example of why I've started avoiding (.*?) if at
all possible. It'll always bite you in the ass if it can.