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