[Also sent by mail to Noah on 2007-11-18]
This patch restores restores the order in which patterns match
so that it works as pexpect 2.1 did. It was my expect_exact()
patch which broke this back in June 2007.
It also tries to document the behavior, and adds unit tests on
it. All tests should pass. test_expect.py passes when applied
to pexpect 2.1.
It's a patch against pexpect SVN 487, but requires
pexpect-487-expect_exact-bugs.patch to have been applied first.
/Jörgen
<grahn+pexpect@snipabacken.dyndns.org>
pexpect-487-expect-order.patch
This too seems to have been merged.