Syntactic Confectionery Delight | |
PerlMonks |
Re: Extracting informationby fuzzysteve (Beadle) |
on Jan 09, 2002 at 20:03 UTC ( [id://137472]=note: print w/replies, xml ) | Need Help?? |
My regex's aren't what they could be, but after some experimentation with the code, the problem arises when you have a < before the </a> also the problem would appear to be in your first regex (the while loop check). looking at the reg exp , you've written it to exclude any data that has a < before the </a> the problem is with the ([^<]+). you've specifically exluded any data with tags betweern the anchor tags.
In Section
Seekers of Perl Wisdom
|
|