($nth_chunk) = $text =~ /(?:PREFACE(MATCH)POSTFIX){N}/; #### my ($number13) = $text =~ /(?:(.*?)\n){13}/; #### "abcdef" =~ /(.)/; # $1 is "a" "abcdef" =~ /(.)+/; # $1 is "f"
## my ($number13) = $text =~ /(?:(.*?)\n){13}/; ##
## "abcdef" =~ /(.)/; # $1 is "a" "abcdef" =~ /(.)+/; # $1 is "f"