Daniel Linder wrote:
I beleve that the "\x{a}" is kicking you -- isn't that the hex character "0xA" or "newline"? Thus, your "$stream" variable is actually two lines as far as the regexp is concerned.
Oh, really? Yup, that would definitely explain that then! AFAIK that binary junk is just random so I guess it would be my luck that randomness would hit /n. :) j