I got it.
page.body.scan(/\<\/tr\>\n[\<\/form\>\n]*\<tr\>\n(.*)\<\/tr
\>/mi)
thanks.
On Oct 30, 1:31 pm, Kim
<Kim.Gri...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
page.body.scan(/\<\/tr\>\n\<\/form\>\n\<tr\>\n(.*)\<\/tr\>/mi)
gets
> half the results
> page.body.scan(/\<\/tr\>\n\<tr\>\n(.*)\<\/tr\>/mi) gets
the other half
>
> I need help writing the reg ex that gets all the results.
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---