From: Aaron Patterson Date: 2006-09-08T06:15:36+09:00 Subject: Re: [ANN] WWW::Mechanize 0.6.0 (Rufus) On Fri, Sep 08, 2006 at 05:20:38AM +0900, Mat Schaffer wrote: > I'm noticing some issues with the changed behavior of > WWW::Mechanize::Page#links.text > > I used to just be able to grab a link using > page.links.text(/pattern/).first and it would work even if the had > children. It doesn't seem to work anymore. I'm working on pinning > the issue down, but you likely have more insight. Is there a new way > to do this that's more hpricot friendly? This may be a bug in hpricot. That functionality should have remained the same. The only difference is the parser being used. Could you possibly send sample code or sample html to one of the mechanize mailing lists: http://rubyforge.org/mail/?group_id=1453 I don't want to clutter ruby-talk with mechanize support stuff. :-) > > Hpricot integration seems like a fine idea though, glad to see you > making use of it. Thanks for all the hard work. > No problem. Hopefully I can help you out! --Aaron