in reply to Greedy flip flop operator?
while (my $line = <$fh>) { chomp $line; ($line =~ /start text|^\+/) && print "$line\n"; } [download]