in reply to Re: Re: Re: Regex isn't performing like I think it should
in thread Regex isn't performing like I think it should
I'd never even thought of, or even seen for that matter, using the array to grab all matches. Excellent technique!
As far as using a hash, that's actually what it's going in to just for that very reason - to eliminate dups. The problem is, with this particular HTML, there are duplicate links with the news headline as one link, the associated text, then 'more' as a duplicate link underneath the associated text.
Again, ++ ++ for that array idea! Thanks!
Some people fall from grace. I prefer a running start...
|
|---|