in reply to Re: Printing the variable makes the next match code work. Why?in thread Printing the variable makes the next match code work. Why?
Also perhaps see Dominus's Suffering from Buffering.