in reply to Re: Pattern Matching
in thread Pattern Matching

You also have to take into account when two lines match in a row. What do you do then? Do you still print the previous line, even though it was already printed?