From fd89e497d9261f4c36b30a96d9f5e9fe67facce5 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 13 Jun 2001 16:22:27 +0000 Subject: [PATCH] FAQ tweak for Vanina Arca . p4raw-id: //depot/perl@10568 --- pod/perlfaq6.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pod/perlfaq6.pod b/pod/perlfaq6.pod index 45f0966..121f66c 100644 --- a/pod/perlfaq6.pod +++ b/pod/perlfaq6.pod @@ -115,7 +115,7 @@ Here's code that finds everything between START and END in a paragraph: undef $/; # read in whole file, not just one line or paragraph while ( <> ) { - while ( /START(.*?)END/sm ) { # /s makes . cross line boundaries + while ( /START(.*?)END/sgm ) { # /s makes . cross line boundaries print "$1\n"; } } -- 1.8.3.1