Expect, rexpect and others

I know that now Ruby includes “expect”, and that’s great, however I noticed
that it reads data one character at a time, I’m trying to use it on
something that spits out a lot of data, and don’t think this is the best
solution to the problem.

I then came across this page:

http://www.rubygarden.org/ruby?RExpect

It attempts to fix some of the perceived flaws with expect, including
getting things one character at a time.

Does anybody have any experience with either, and have any suggestions to
someone wanting this kind of functionality?

Ben