in reply to Re^4: What's the "...0" mean?
in thread What's the "...0" mean?

That is a good example.

But in the original question

perl -ne 'print if s/.*?(?=abc)//...2' input.txt
the flip-flop is true on the first line (the substitution) and remains to be true on the second line (the comparison with line number).

But should it then not remain false for the rest of the file resulting in no more lines being printed?