Comment 4 for bug 1197582

Revision history for this message
Antonio Terceiro (terceiro) wrote : Re: UEFI shell color codes makes it impossible to parse output with pexpect.

ok the branch I linked does not fix the problem yet, but I have figured out what the problem is.

UEFI (or the fastmodel emulated serial port) is sending one character at a time, so that the regex filter won't be able to actually filter. I will have to implement a state machine to consume those characters until the entire escape sequence is consumed.