From: Pistos Christou Date: 2006-03-08T05:12:39+09:00 Subject: Re: Is there link extractor or similar html processing libs James Gray wrote: > Am I getting close yet? No, the quotes are all wrong. That would > fail to match an extremely common link like: > > If you want to capture the name of the link too, this gets *much* worse! I see what you're getting at: If you're trying to do generally-applicable parsing, I suppose you're headed for a world of hurt. But all I've ever done is page- or site-specific scraping, and never really considered it a big deal. A few regexps here, a few .scans there, and you're done... Pistos -- Posted via http://www.ruby-forum.com/.